diff mbox series

[U-Boot,3/6] configs: stm32f: Remove STM32_HSE_HZ for all STM32F series

Message ID 1516279174-30005-4-git-send-email-patrice.chotard@st.com
State Accepted
Commit 09b9f649d06256dfc2fefc28f091c3cabfd9cfeb
Delegated to: Tom Rini
Headers show
Series Add stmf429-evaluation board support | expand

Commit Message

Patrice CHOTARD Jan. 18, 2018, 12:39 p.m. UTC
From: Patrice Chotard <patrice.chotard@st.com>

As clk_stm32f driver is able to retrieve HSE frequency from DT,
CONFIG_STM32_HSE_HZ becomes useless.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 include/configs/stm32f429-discovery.h | 2 --
 include/configs/stm32f469-discovery.h | 1 -
 include/configs/stm32f746-disco.h     | 1 -
 3 files changed, 4 deletions(-)

Comments

Tom Rini Jan. 28, 2018, 6:52 p.m. UTC | #1
On Thu, Jan 18, 2018 at 01:39:31PM +0100, patrice.chotard@st.com wrote:

> From: Patrice Chotard <patrice.chotard@st.com>
> 
> As clk_stm32f driver is able to retrieve HSE frequency from DT,
> CONFIG_STM32_HSE_HZ becomes useless.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index 1ad3698..af9daad 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -43,8 +43,6 @@ 
 
 #define CONFIG_STM32_FLASH
 
-#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 */
diff --git a/include/configs/stm32f469-discovery.h b/include/configs/stm32f469-discovery.h
index 1409999..c290a66 100644
--- a/include/configs/stm32f469-discovery.h
+++ b/include/configs/stm32f469-discovery.h
@@ -39,7 +39,6 @@ 
 
 #define CONFIG_STM32_FLASH
 
-#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 */
 
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index d12b1d8..301ab0f 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -37,7 +37,6 @@ 
 #define CONFIG_MII
 #define CONFIG_PHY_SMSC
 
-#define CONFIG_STM32_HSE_HZ		25000000
 #define CONFIG_SYS_CLK_FREQ		200000000 /* 200 MHz */
 #define CONFIG_SYS_HZ_CLOCK		1000000	/* Timer is clocked at 1MHz */