From: Antonio Borneo Date: Sun, 19 Jul 2015 14:19:48 +0000 (+0800) Subject: stm32f429: use 180 MHz system clock X-Git-Tag: v2015.10-rc1~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9fa4a25ccc64aa50649587b8881e8fbc4ac6f77;p=oweals%2Fu-boot.git 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 --- 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