[U-Boot] [PATCH 03/11] clk: stm32f7: add dedicated STM32F7 compatible string

patrice.chotard at st.com patrice.chotard at st.com
Wed Nov 15 12:14:45 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

Add a dedicated stm32f7 compatible string to use clk_stm32f7
driver with both STM32F4 and STM32F7 SoCs.
It will be needed to manage differences between these 2 SoCs.

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
Reviewed-by: Vikas Manocha <vikas.manocha at st.com>
---
 drivers/clk/clk_stm32f7.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 0fa838c..eb8a5bf 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -319,6 +319,7 @@ static struct clk_ops stm32_clk_ops = {
 
 static const struct udevice_id stm32_clk_ids[] = {
 	{ .compatible = "st,stm32f42xx-rcc"},
+	{ .compatible = "st,stm32f746-rcc"},
 	{}
 };
 
-- 
1.9.1



More information about the U-Boot mailing list