platform: Implemented sub support in the non-native platforms for target clock tristating
This commit is contained in:
parent
adcfe22f86
commit
7a0f6597ff
|
@ -101,3 +101,8 @@ void platform_request_boot(void)
|
||||||
SYSCFG_MEMRM &= ~3;
|
SYSCFG_MEMRM &= ~3;
|
||||||
SYSCFG_MEMRM |= 1;
|
SYSCFG_MEMRM |= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -142,3 +142,8 @@ void platform_target_set_power(const bool power)
|
||||||
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
|
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -110,3 +110,8 @@ void platform_request_boot(void)
|
||||||
magic[1] = BOOTMAGIC1;
|
magic[1] = BOOTMAGIC1;
|
||||||
scb_reset_system();
|
scb_reset_system();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -115,3 +115,8 @@ void platform_request_boot(void)
|
||||||
magic[1] = BOOTMAGIC1;
|
magic[1] = BOOTMAGIC1;
|
||||||
scb_reset_system();
|
scb_reset_system();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -137,3 +137,8 @@ void platform_target_set_power(const bool power)
|
||||||
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
|
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -105,3 +105,8 @@ void platform_request_boot(void)
|
||||||
SYSCFG_MEMRM &= ~3;
|
SYSCFG_MEMRM &= ~3;
|
||||||
SYSCFG_MEMRM |= 1;
|
SYSCFG_MEMRM |= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -141,3 +141,8 @@ uint32_t platform_max_frequency_get(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -160,3 +160,8 @@ const char *platform_target_voltage(void)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
|
@ -190,3 +190,8 @@ void set_idle_state(int state)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void platform_target_clk_output_enable(bool enable)
|
||||||
|
{
|
||||||
|
(void)enable;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue