diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-07-18 09:02:23 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2017-07-19 05:46:36 (GMT) |
commit | d1e66fda9961154da4acd2e298afefc74b88fcb3 (patch) | |
tree | 703f912d7d1b13fad4a992831f147f82835c92f9 /include/configs/ls1046ardb.h | |
parent | 3b82e5e0eb26a912bcd23b4e5ca169c4bded570f (diff) | |
download | u-boot-d1e66fda9961154da4acd2e298afefc74b88fcb3.tar.xz |
arm64: ls1046ardb: Add distro boot support
Tested on ls1046ardb with automatically boot Ubuntu from SD card or
USB disk, if it fails to detect external storage disk, fall back to
qspi boot.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Diffstat (limited to 'include/configs/ls1046ardb.h')
-rw-r--r-- | include/configs/ls1046ardb.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h index fb04248..b29fbad 100644 --- a/include/configs/ls1046ardb.h +++ b/include/configs/ls1046ardb.h @@ -243,10 +243,8 @@ #endif #ifndef SPL_NO_MISC -#define CONFIG_BOOTCOMMAND "sf probe 0:0;sf read $kernel_load" \ - "$kernel_start $kernel_size;" \ - "bootm $kernel_load" - +#undef CONFIG_BOOTCOMMAND +#define CONFIG_BOOTCOMMAND "run distro_bootcmd;run qspi_bootcmd" #define MTDPARTS_DEFAULT "mtdparts=1550000.quadspi:1m(rcw)," \ "15m(u-boot),48m(kernel.itb);" \ "7e800000.flash:16m(nand_uboot)," \ |