platform: Implemented sub support in the non-native platforms for target clock tristating

This commit is contained in:
dragonmux 2022-08-09 00:04:28 +01:00 committed by Piotr Esden-Tempski
parent adcfe22f86
commit 7a0f6597ff
9 changed files with 45 additions and 0 deletions

View File

@ -101,3 +101,8 @@ void platform_request_boot(void)
SYSCFG_MEMRM &= ~3;
SYSCFG_MEMRM |= 1;
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -142,3 +142,8 @@ void platform_target_set_power(const bool power)
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
}
#endif
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -110,3 +110,8 @@ void platform_request_boot(void)
magic[1] = BOOTMAGIC1;
scb_reset_system();
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -115,3 +115,8 @@ void platform_request_boot(void)
magic[1] = BOOTMAGIC1;
scb_reset_system();
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -137,3 +137,8 @@ void platform_target_set_power(const bool power)
gpio_set_val(PWR_BR_PORT, PWR_BR_PIN, !power);
}
#endif
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -105,3 +105,8 @@ void platform_request_boot(void)
SYSCFG_MEMRM &= ~3;
SYSCFG_MEMRM |= 1;
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -141,3 +141,8 @@ uint32_t platform_max_frequency_get(void)
{
return 0;
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -160,3 +160,8 @@ const char *platform_target_voltage(void)
return ret;
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}

View File

@ -190,3 +190,8 @@ void set_idle_state(int state)
break;
}
}
void platform_target_clk_output_enable(bool enable)
{
(void)enable;
}