[PATCH 23/23] configs: am64x_evm_a53_defconfig: Just use distroboot

Nishanth Menon
2023-04-14T08:01:45Z

Just use distroboot when we are attempting to enable that by default.

Signed-off-by: Nishanth Menon <nm@ti.com>
---

we should probably do this for all other defconfigs instead of the weird
hacks folks have been doing inconsistenly in am62x, j721e defconfig.

if we are distroboot, just do it.. envboot is for personal user
overrides.

configs/am64x_evm_a53_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig
index 6543ae76fcb1..ea6165d8f7e1 100644
--- a/configs/am64x_evm_a53_defconfig
+++ b/configs/am64x_evm_a53_defconfig
@@ -31,7 +31,7 @@ CONFIG_SPL_SPI=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
CONFIG_DISTRO_DEFAULTS=y
-CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run get_kern_${boot}; run get_fdt_${boot}; run run_kern"
+CONFIG_BOOTCOMMAND="run findfdt; run envboot; run distro_bootcmd"
CONFIG_BOARD_LATE_INIT=y
CONFIG_SPL_MAX_SIZE=0x180000
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
--
2.40.0