summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-08-13 20:26:38 +0530
committerTom Rini <trini@konsulko.com>2015-08-14 16:27:04 -0400
commit16862604dbb4f8f26996fbbb2ecb0baaddff0d40 (patch)
treeedfccdc46ef2c5275c2fe4e95427af83786a4e16 /include
parent26f8a4ac8fc14f577a5290a0231e5e74a5046a6a (diff)
downloadblackbird-obmc-uboot-16862604dbb4f8f26996fbbb2ecb0baaddff0d40.tar.gz
blackbird-obmc-uboot-16862604dbb4f8f26996fbbb2ecb0baaddff0d40.zip
ARM: OMAP5+: configs: Fix default boot command
The default boot command searches for dofastboot varaiable and does a fastboot if it is set to 1. But the condition "if test ${dofastboot} -eq 1" always returns true if dofastboot is not defined and breaking mmc boot. So make dofastboot as 0 by default and let the runtime environment set it if fastboot is required. Reported-by: Yan Liu <yan-liu@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ti_omap5_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index fe04692368..1c1f8c0830 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -79,6 +79,7 @@
"vram=16M\0" \
"partitions=" PARTS_DEFAULT "\0" \
"optargs=\0" \
+ "dofastboot=0\0" \
"mmcdev=0\0" \
"mmcroot=/dev/mmcblk0p2 rw\0" \
"mmcrootfstype=ext4 rootwait\0" \
OpenPOWER on IntegriCloud