summaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2017-06-15 11:10:09 +0800
committerYork Sun <york.sun@nxp.com>2017-08-01 08:28:57 -0700
commit8de227ee0bf0e14a835b18fe8b599a757f1f678a (patch)
treed6e98cd9c937371f50e295005b7d894f72c2b49a /include/configs/ls1046ardb.h
parentb171cd9f968e89cae9bbbcaab2bdaf4106c1a61c (diff)
downloadu-boot-8de227ee0bf0e14a835b18fe8b599a757f1f678a.tar.gz
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> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls1046ardb.h')
-rw-r--r--include/configs/ls1046ardb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 8157db8028..114712322f 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -240,10 +240,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)," \