summaryrefslogtreecommitdiff
path: root/include/configs/mx53ppd.h
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:08:03 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commit5e13def1eee097878acf67af5483660d27b86c44 (patch)
tree0e26dbe63d6bc31d536383de293c59a8c2a5f65f /include/configs/mx53ppd.h
parent30f0909c7ec68066295a5b115c08fdb703118d33 (diff)
board: ge: bx50v3, mx53ppd: fix firstboot detection
Use `test' command to test for file existence instead of relying on the old functionality of the `ext2load' command (which now reports an error when attempting to load a zero length file). Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'include/configs/mx53ppd.h')
-rw-r--r--include/configs/mx53ppd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index a4452b8f9e..101abc4302 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -72,8 +72,8 @@
"rootwait ${bootargs}\0" \
"doquiet=if ext2load ${dev} ${devnum}:5 0x7000A000 /boot/console; " \
"then setenv quiet; fi\0" \
- "hasfirstboot=ext2load ${dev} ${devnum}:${partnum} 0x7000A000 " \
- "/boot/bootcause/firstboot\0" \
+ "hasfirstboot=" \
+ "test -e ${dev} ${devnum}:${partnum} /boot/bootcause/firstboot\0" \
"swappartitions=setexpr partnum 3 - ${partnum}\0" \
"failbootcmd=" \
"cls; " \