Allow the reuse of k3-j721e-binman for other platforms such as BeagleBone-AI64. Provide a couple of macros to indicate the correct dtb to be able to re-use soc binman dtsi file
Signed-off-by: Nishanth Menon <n...@ti.com> --- arch/arm/dts/k3-j721e-binman.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-j721e-binman.dtsi b/arch/arm/dts/k3-j721e-binman.dtsi index d9c4fbf593af..6166c931dea6 100644 --- a/arch/arm/dts/k3-j721e-binman.dtsi +++ b/arch/arm/dts/k3-j721e-binman.dtsi @@ -295,16 +295,28 @@ #ifdef CONFIG_TARGET_J721E_A72_EVM #define SPL_NODTB "spl/u-boot-spl-nodtb.bin" +#ifndef SPL_J721E_EVM_DTB #define SPL_J721E_EVM_DTB "spl/dts/k3-j721e-common-proc-board.dtb" +#endif #define UBOOT_NODTB "u-boot-nodtb.bin" + +#ifndef J721E_EVM_DTB #define J721E_EVM_DTB "u-boot.dtb" +#endif #ifdef DUAL_DTB_BINMAN + +#ifndef SPL_J721E_SK_DTB #define SPL_J721E_SK_DTB "spl/dts/k3-j721e-sk.dtb" +#endif + +#ifndef J721E_SK_DTB #define J721E_SK_DTB "arch/arm/dts/k3-j721e-sk.dtb" #endif +#endif + &binman { ti-dm { filename = "ti-dm.bin"; -- 2.40.0