layerscape: fix u-boot bootcmd
[openwrt/openwrt.git] / package / boot / uboot-layerscape / patches / 0001-modify-macro-QSPI_NOR_BOOTCOMMAND-of-ls1046ardb-for-.patch
1 From 51f860f8293d834497c6f7f810fa4650cd82f9ac Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Sat, 13 Apr 2019 14:21:47 +0800
4 Subject: [PATCH] modify macro QSPI_NOR_BOOTCOMMAND of ls1046ardb for openwrt
5
6 Signed-off-by: Biwen Li <biwen.li@nxp.com>
7 ---
8 include/configs/ls1046ardb.h | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
12 index cc1f5f5f55..925e717e4b 100644
13 --- a/include/configs/ls1046ardb.h
14 +++ b/include/configs/ls1046ardb.h
15 @@ -217,8 +217,8 @@
16 #ifndef SPL_NO_MISC
17 #undef CONFIG_BOOTCOMMAND
18 #ifdef CONFIG_TFABOOT
19 -#define QSPI_NOR_BOOTCOMMAND "run distro_bootcmd; run qspi_bootcmd; " \
20 - "env exists secureboot && esbc_halt;;"
21 +#define QSPI_NOR_BOOTCOMMAND "echo (from QSPI_NOR_BOOTCOMMAND) starting openwrt; " \
22 + "run qspi_boot;"
23 #define SD_BOOTCOMMAND "run distro_bootcmd;run sd_bootcmd; " \
24 "env exists secureboot && esbc_halt;"
25 #else
26 --
27 2.17.1
28