arm: dts k3-am62-lp-sk-binman: Add binman support

Switch to binman for building bootloader images. Reuse
k3-am625-sk-binman and override the dtb names to that of AM62 LP SK
board.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
Vignesh Raghavendra 2023-06-05 09:50:28 +05:30 committed by Udit Kumar
parent 1fa2575efe
commit 16f7e213cd
4 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,29 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
*/
#include "k3-am625-sk-binman.dtsi"
#ifdef CONFIG_TARGET_AM625_A53_EVM
#define SPL_AM62_LP_SK_DTB "spl/dts/k3-am62-lp-sk.dtb"
#define AM62_LP_SK_DTB "arch/arm/dts/k3-am62-lp-sk.dtb"
&spl_am625_sk_dtb {
filename = SPL_AM62_LP_SK_DTB;
};
&am625_sk_dtb {
filename = AM62_LP_SK_DTB;
};
&spl_am625_sk_dtb_unsigned {
filename = SPL_AM62_LP_SK_DTB;
};
&am625_sk_dtb_unsigned {
filename = AM62_LP_SK_DTB;
};
#endif

View File

@ -4,4 +4,5 @@
* Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/
*/
#include "k3-am62-lp-sk-binman.dtsi"
#include "k3-am62x-sk-common-u-boot.dtsi"

View File

@ -10,3 +10,4 @@
#include "k3-am62-lp-sk-u-boot.dtsi"
#include "k3-am62x-r5-sk-common.dtsi"
#include "k3-am62-lp-sk-binman.dtsi"

View File

@ -389,7 +389,7 @@
type = "flat_dt";
arch = "arm";
compression = "none";
blob {
spl_am625_sk_dtb_unsigned: blob {
filename = SPL_AM625_SK_DTB;
};
};
@ -438,7 +438,7 @@
type = "flat_dt";
arch = "arm";
compression = "none";
blob {
am625_sk_dtb_unsigned: blob {
filename = AM625_SK_DTB;
};
hash {