diff options
author | Jun Nie <jun.nie@linaro.org> | 2021-03-11 13:16:00 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2021-03-11 13:25:17 +0800 |
commit | 5193e5a05c34cd7da373966f4a6d6e3cd3588e47 (patch) | |
tree | c271cfac1284f70ec26db11e175e22cf63f39cc4 | |
parent | 279c202524e4a264a69143a52243fe3d36c7472c (diff) |
[FIO extras] imx8mprsb3720: disable default hardcoded bootcmd
Allow bootcmd to be customized via CONFIG_BOOTCOMMAND.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r-- | configs/imx8mp_rsb3720a1_6G_defconfig | 1 | ||||
-rw-r--r-- | include/configs/imx8mp_rsb3720.h | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/configs/imx8mp_rsb3720a1_6G_defconfig b/configs/imx8mp_rsb3720a1_6G_defconfig index 27b780239d..00852ba6ba 100644 --- a/configs/imx8mp_rsb3720a1_6G_defconfig +++ b/configs/imx8mp_rsb3720a1_6G_defconfig @@ -80,6 +80,7 @@ CONFIG_FASTBOOT_UUU_SUPPORT=y CONFIG_FASTBOOT_BUF_ADDR=0x42800000 CONFIG_FASTBOOT_BUF_SIZE=0x40000000 CONFIG_FASTBOOT_FLASH=y +CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; fi;" CONFIG_DM_I2C=y CONFIG_SYS_I2C_MXC=y CONFIG_LED=y diff --git a/include/configs/imx8mp_rsb3720.h b/include/configs/imx8mp_rsb3720.h index 7548b509ab..adada00952 100644 --- a/include/configs/imx8mp_rsb3720.h +++ b/include/configs/imx8mp_rsb3720.h @@ -156,18 +156,6 @@ "echo WARN: Cannot load the DT; " \ "fi; " \ "fi;\0" - -#define CONFIG_BOOTCOMMAND \ - "mmc dev ${mmcdev}; if mmc rescan; then " \ - "if run loadbootscript; then " \ - "run bootscript; " \ - "else " \ - "if run loadimage; then " \ - "run mmcboot; " \ - "else run netboot; " \ - "fi; " \ - "fi; " \ - "fi;" #endif /* Link Definitions */ |