board: phycore-imx93: env: Move bootcmd from defconfig to env

Move the default bootcmd from the defconfig to the board environment in
preparation for RAUC support. No change in functionality.

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
This commit is contained in:
Leonard Anderweit
2025-04-10 10:41:21 +02:00
committed by Fabio Estevam
parent 82211629c6
commit 90209b16d6
2 changed files with 9 additions and 1 deletions

View File

@@ -2,6 +2,15 @@
#include <env/phytec/overlays.env>
bootcmd=
mmc dev ${mmcdev};
if mmc rescan; then
if run loadimage; then
run mmcboot;
else
run netboot;
fi;
fi;
image=Image
console=ttyLP0
fdt_addr_r=0x90000000

View File

@@ -35,7 +35,6 @@ CONFIG_REMAKE_ELF=y
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_DISTRO_DEFAULTS=y
CONFIG_OF_SYSTEM_SETUP=y
CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadimage; then run mmcboot; else run netboot; fi; fi;"
CONFIG_DEFAULT_FDT_FILE="oftree"
CONFIG_SYS_CBSIZE=2048
CONFIG_SYS_PBSIZE=2074