]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: phycore_am62x_a53_defconfig: Make BOOTCMD generic
authorDaniel Schultz <d.schultz@phytec.de>
Fri, 30 Aug 2024 09:09:35 +0000 (02:09 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 10 Sep 2024 19:16:01 +0000 (13:16 -0600)
The phyCORE-AM62x board code sets an environment variable 'boot'
with the device U-Boot booted from. Use this variable in
CONFIG_BOOTCOMMAND to boot Linux from the same boot device by
default.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
configs/phycore_am62x_a53_defconfig

index 39161b722b158f079df68212a809d977d58d6f30..7bbd8011fa82289e529081c02a03f16b85a0f105 100644 (file)
@@ -40,7 +40,7 @@ CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
 CONFIG_BOOTSTD_FULL=y
 CONFIG_SYS_BOOTM_LEN=0x800000
 CONFIG_OF_BOARD_SETUP=y
-CONFIG_BOOTCOMMAND="run mmcboot; bootflow scan -lb"
+CONFIG_BOOTCOMMAND="run ${boot}boot; bootflow scan -lb"
 CONFIG_DEFAULT_FDT_FILE="oftree"
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x58000