]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: stm32f7: add dedicated STM32F7 compatible string
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 15 Nov 2017 12:14:45 +0000 (13:14 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
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@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
drivers/clk/clk_stm32f7.c

index 0fa838c4ee51a67fdaa2793607bbf7bcc46c1583..eb8a5bf10d2a2452ba98e5e0ce17b91550bfdc5e 100644 (file)
@@ -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"},
        {}
 };