summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/efika-mx-smartbook
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-03 10:12:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-03 14:21:13 +0200
commit0994834462c4200dfe8479d8d694226008ca9d72 (patch)
tree4465dce1392aca300bbccce3ba683b311e458b31 /arch/arm/boards/efika-mx-smartbook
parentc74fb45f6427256a530bbf6682b10908942a3644 (diff)
downloadbarebox-0994834462c4200dfe8479d8d694226008ca9d72.tar.gz
barebox-0994834462c4200dfe8479d8d694226008ca9d72.tar.xz
ARM: i.MX: rename barebox_loc to bootsource
Rename the barebox_loc environment variable to bootsource, since - barebox_loc is a mixture between abbriviation and fulltext which is not nice - technically it describes the source the SoC has booted from. This is not necessarily barebox but could also be some other first stage loader. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/env/init/bootsource2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource b/arch/arm/boards/efika-mx-smartbook/env/init/bootsource
index fb084696a3..380e85589b 100644
--- a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource
+++ b/arch/arm/boards/efika-mx-smartbook/env/init/bootsource
@@ -3,7 +3,7 @@
# by default pick kernel from MMC card if booting from
# it, otherwise default to boot from internal harddisk
-if [ $barebox_loc = mmc ]; then
+if [ $bootsource = mmc ]; then
global.boot.default=mmc-left
else
global.boot.default=hd-internal