git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89982f
)
ARM: at91: don't initialize clocks if scmi clock driver is enabled
author
Clément Léger
<clement.leger@bootlin.com>
Tue, 30 May 2023 09:05:16 +0000
(11:05 +0200)
committer
Eugen Hristev
<eugen.hristev@collabora.com>
Fri, 16 Jun 2023 09:17:12 +0000
(12:17 +0300)
Because clock devices are initialized by the SCMI server, if
CONFIG_CLK_SCMI is defined.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
arch/arm/mach-at91/armv7/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/armv7/cpu.c
b/arch/arm/mach-at91/armv7/cpu.c
index
616621a
..
5ea7e26
100644
(file)
--- a/
arch/arm/mach-at91/armv7/cpu.c
+++ b/
arch/arm/mach-at91/armv7/cpu.c
@@
-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);