layerscape: fix u-boot bootcmd
[openwrt/openwrt.git] / package / boot / uboot-layerscape / patches / 0002-modify-macro-QSPI_NOR_BOOTCOMMAND-of-ls1012afrwy-for.patch
1 From 2999d128bef554da5ca7a553dfe1c31061df9c5c Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Sun, 14 Apr 2019 13:36:52 +0800
4 Subject: [PATCH] modify macro QSPI_NOR_BOOTCOMMAND of ls1012afrwy for openwrt
5
6 Signed-off-by: Biwen Li <biwen.li@nxp.com>
7 ---
8 include/configs/ls1012afrwy.h | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h
12 index 12e6437a05..900752970e 100644
13 --- a/include/configs/ls1012afrwy.h
14 +++ b/include/configs/ls1012afrwy.h
15 @@ -122,8 +122,8 @@
16 #undef CONFIG_BOOTCOMMAND
17 #ifdef CONFIG_TFABOOT
18 #undef QSPI_NOR_BOOTCOMMAND
19 -#define QSPI_NOR_BOOTCOMMAND "pfe stop; run distro_bootcmd; run sd_bootcmd; "\
20 - "env exists secureboot && esbc_halt;"
21 +#define QSPI_NOR_BOOTCOMMAND "echo (from QSPI_NOR_BOOTCOMMAND) starting openwrt ...; "\
22 + "pfe stop; run sd_boot;"
23 #else
24 #define CONFIG_BOOTCOMMAND "pfe stop; run distro_bootcmd; run sd_bootcmd; "\
25 "env exists secureboot && esbc_halt;"
26 --
27 2.17.1
28