From: Patrice Chotard Date: Wed, 27 Apr 2022 11:53:58 +0000 (+0200) Subject: configs: stm32f746-disco: use CONFIG_DEFAULT_DEVICE_TREE as fdtfile X-Git-Tag: v2022.07~53^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7aa4b4523f7c56b1b6407cbfb6ab3706f98e11c7;p=platform%2Fkernel%2Fu-boot.git configs: stm32f746-disco: use CONFIG_DEFAULT_DEVICE_TREE as fdtfile As stm32f46-disco, stm32f769-disco and stm32746g-eval are very similar except their respective device tree file. These 3 boards uses the same TARGET_STM32F746_DISCO flag (so same include/configs/stm32f746-disco.h and same board file board/st/stm32f746-disco/stm32f746-disco.c) To be able to compile these 3 boards, replace the hard-coded device-tree name in include/configs/stm32f746-disco.h by CONFIG_DEFAULT_DEVICE_TREE which is set in each board defconfig file with the correct value. Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index b93acdc..cc3d4b4 100644 --- a/include/configs/stm32f746-disco.h +++ b/include/configs/stm32f746-disco.h @@ -34,7 +34,7 @@ #include #define CONFIG_EXTRA_ENV_SETTINGS \ "kernel_addr_r=0xC0008000\0" \ - "fdtfile=stm32f746-disco.dtb\0" \ + "fdtfile="CONFIG_DEFAULT_DEVICE_TREE".dtb\0" \ "fdt_addr_r=0xC0408000\0" \ "scriptaddr=0xC0418000\0" \ "pxefile_addr_r=0xC0428000\0" \