ARM: at91: armv7: don't initialize clocks if scmi clock driver is enabled
PATCH 1/1 ARM: at91: armv7: don't initialize clocks if scmi clock driver is enabled
From: Clément Léger <[email protected]>
Because clock devices are initialized by the SCMI server, if CONFIG_CLK_SCMI is defined.
Signed-off-by Clément Léger <[email protected]>
Signed-off-by Thomas Perrot <[email protected]>
--- arch/arm/mach-at91/armv7/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-at91/armv7/cpu.c +1 -1
@@ -24,7 +24,7 @@int arch_cpu_init (void ) { -#if defined(CONFIG_CLK_CCF ) +#if defined(CONFIG_CLK_CCF ) || defined(CONFIG_CLK_SCMI )return 0 ;#else return at91_clock_init (CFG_SYS_AT91_MAIN_CLOCK );
Signature · 1 line
2.40.1
Quoted 8 lines · On 5/30/23 12:05, [email protected] wrote:
From: Clément Léger <[email protected]>
Because clock devices are initialized by the SCMI server, if
CONFIG_CLK_SCMIis defined.Signed-off-by Clément Léger <[email protected]>Signed-off-by Thomas Perrot <[email protected]>---
Applied to u-boot-at91/master , thanks !