From: Patrice Chotard Date: Wed, 15 Nov 2017 12:14:45 +0000 (+0100) Subject: clk: stm32f7: add dedicated STM32F7 compatible string X-Git-Tag: v2018.01-rc1~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e868e3e537278d1d7a19c65fd5c5475c0c825b42;p=u-boot clk: stm32f7: add dedicated STM32F7 compatible string 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 Reviewed-by: Vikas Manocha --- diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c index 0fa838c4ee..eb8a5bf10d 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"}, {} };