aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Ray2021-04-23 16:15:13 +0200
committerStefano Babic2021-05-02 12:46:54 +0200
commit3a5435580d37dcc821dc8af8c2fa8c77179883f9 (patch)
treeed1acdcb72ebb84420101612f48f090b456ff444 /include
parentee77bb571925069e5f179d6d0c27b2411f2d77f0 (diff)
include: configs: ge: avoid shell on boot failure
Prevent shell access on boot failure by entering an infinite loop. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ge_bx50v3.h3
-rw-r--r--include/configs/mx53ppd.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index a4d5752bf46..c8e9d3b17f5 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -96,7 +96,8 @@
"setcurs 5 4; " \
"lcdputs \"Monitor failed to start. " \
"Try again, or contact GE Service for support.\"; " \
- "bootcount reset; \0" \
+ "bootcount reset; " \
+ "while true; do sleep 1; done; \0" \
"altbootcmd=" \
"run doquiet; " \
"setenv partnum 1; run hasfirstboot || setenv partnum 2; " \
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index a8c5c828bd3..b1e6a5638b6 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -76,7 +76,8 @@
"setcurs 5 4; " \
"lcdputs \"Monitor failed to start. " \
"Try again, or contact GE Service for support.\"; " \
- "bootcount reset; \0" \
+ "bootcount reset; " \
+ "while true; do sleep 1; done; \0" \
"altbootcmd=" \
"run doquiet; " \
"setenv partnum 1; run hasfirstboot || setenv partnum 2; " \