From f9fa4a25ccc64aa50649587b8881e8fbc4ac6f77 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 19 Jul 2015 22:19:48 +0800 Subject: [PATCH] stm32f429: use 180 MHz system clock 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 To: Albert Aribaud To: Tom Rini To: Kamil Lulko Cc: u-boot@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 f9807db5c6..1ac3db69b1 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.39.5