]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: OMAP5+: configs: Fix default boot command
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 13 Aug 2015 14:56:38 +0000 (20:26 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:22 +0000 (10:23 +0200)
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>
include/configs/ti_omap5_common.h

index fe04692368b59a78f4621527587f9ef73f5edc94..1c1f8c0830d82de84fe15e3de39dd0491eb32332 100644 (file)
@@ -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" \