configs: stm32f746-disco: use CONFIG_DEFAULT_DEVICE_TREE as fdtfile
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 27 Apr 2022 11:53:58 +0000 (13:53 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 10 May 2022 11:56:12 +0000 (13:56 +0200)
commit7aa4b4523f7c56b1b6407cbfb6ab3706f98e11c7
treea631973e908edafd9e0ccf72e1049dcb2b2f9dcd
parent16613edbc1b59e906a41e84382f3e098f0ec946a
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 <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
include/configs/stm32f746-disco.h