From: Patrice Chotard <patrice.chot...@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.chot...@st.com>
Reviewed-by: Vikas Manocha <vikas.mano...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to