summaryrefslogtreecommitdiffstats
path: root/include/configs/omap3_overo.h
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>2014-09-16 17:51:05 +0200
committerTom Rini <trini@ti.com>2014-10-10 09:44:41 -0400
commit115e71f7da1f6fd96c20793842f5751897d9fdee (patch)
treebd05d30b698bbfb3d93d752dee8b7e3c144829d8 /include/configs/omap3_overo.h
parentfef3e25fc3f59da6410878614e8717020a7d7f74 (diff)
downloadtalos-obmc-uboot-115e71f7da1f6fd96c20793842f5751897d9fdee.tar.gz
talos-obmc-uboot-115e71f7da1f6fd96c20793842f5751897d9fdee.zip
omap3: overo: Fix fdtfile test
Commit 12cc54376768461533b55ada1b0b6d4979f40579 'omap3: overo: Select fdtfile for expansion board' wrongly missed the operator in the fdtfile test. Update the test to only overwrite an empty fdtfile environment variable. Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Diffstat (limited to 'include/configs/omap3_overo.h')
-rw-r--r--include/configs/omap3_overo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index e66f30655d..b17e495f5f 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -151,7 +151,7 @@
"run mmcboot;" \
"fi;" \
"if run loadzimage; then " \
- "if test $fdtfile; then " \
+ "if test -z \"${fdtfile}\"; then " \
"setenv fdtfile omap3-${boardname}-${expansionname}.dtb;" \
"fi;" \
"if run loadfdt; then " \
OpenPOWER on IntegriCloud