mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 04:14:34 +00:00
phycore_imx8mm: Move default bootcmd to board env
Move the default bootcmd from the defconfig to the board environment. Signed-off-by: Yunus Bas <y.bas@phytec.de>
This commit is contained in:
parent
e2cc259cbb
commit
867132cf23
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
bootcmd=
|
||||||
|
mmc dev ${mmcdev};
|
||||||
|
if mmc rescan; then
|
||||||
|
if run loadimage; then
|
||||||
|
run mmcboot;
|
||||||
|
else
|
||||||
|
run netboot;
|
||||||
|
fi;
|
||||||
|
fi;
|
||||||
console=ttymxc2,115200
|
console=ttymxc2,115200
|
||||||
emmc_dev=2
|
emmc_dev=2
|
||||||
fdt_addr_r=0x48000000
|
fdt_addr_r=0x48000000
|
||||||
|
|
|
@ -31,8 +31,6 @@ CONFIG_FIT=y
|
||||||
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
|
CONFIG_FIT_EXTERNAL_OFFSET=0x3000
|
||||||
CONFIG_SPL_LOAD_FIT=y
|
CONFIG_SPL_LOAD_FIT=y
|
||||||
CONFIG_OF_SYSTEM_SETUP=y
|
CONFIG_OF_SYSTEM_SETUP=y
|
||||||
CONFIG_USE_BOOTCOMMAND=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_DEFAULT_FDT_FILE="oftree"
|
||||||
CONFIG_SYS_CBSIZE=2048
|
CONFIG_SYS_CBSIZE=2048
|
||||||
CONFIG_SYS_PBSIZE=2074
|
CONFIG_SYS_PBSIZE=2074
|
||||||
|
|
Loading…
Add table
Reference in a new issue