[U-Boot] [PATCH 3/3] stm32f429: use 180 MHz system clock

Antonio Borneo borneo.antonio at gmail.com
Sun Jul 19 16:19:48 CEST 2015


Mainline Linux kernel commit
338a6aaabc02fa63b70441dd0e1b70aea64673c6 (ARM: dts: Introduce
STM32F429 MCU) in arch/arm/boot/dts/stm32f429.dtsi
requires U-Boot to set system clock to 180 MHz.

Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com>
To: Albert Aribaud <albert.u.boot at aribaud.net>
To: Tom Rini <trini at konsulko.com>
To: Kamil Lulko <rev13 at wp.pl>
Cc: u-boot at lists.denx.de
---
 include/configs/stm32f429-discovery.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index 4cc7324..5f1f453 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -62,6 +62,8 @@
 
 #define CONFIG_STM32_HSE_HZ		8000000
 
+#define CONFIG_SYS_CLK_FREQ		180000000 /* 180 MHz */
+
 #define CONFIG_SYS_HZ_CLOCK		1000000	/* Timer is clocked at 1MHz */
 
 #define CONFIG_CMDLINE_TAG
-- 
2.4.6



More information about the U-Boot mailing list