summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2013-01-30 19:56:02 +0100
committerH. Nikolaus Schaller <hns@goldelico.com>2013-01-30 19:56:02 +0100
commitfe2f6965e454d6ddb012fb5745f9ac70548ea84d (patch)
treebbd7402f5ad4b6a57c9e835c7de76e5686508dfc
parent3df518cf99af7c41a44f88bfd13df825a667ac23 (diff)
downloadbootable_bootloader_goldelico_gta04-fe2f6965e454d6ddb012fb5745f9ac70548ea84d.zip
bootable_bootloader_goldelico_gta04-fe2f6965e454d6ddb012fb5745f9ac70548ea84d.tar.gz
bootable_bootloader_goldelico_gta04-fe2f6965e454d6ddb012fb5745f9ac70548ea84d.tar.bz2
renamed variable gta04 which is used to detect a new script version for flashing to scriptversion
-rw-r--r--boot-scr/boot.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot-scr/boot.txt b/boot-scr/boot.txt
index 0d876bf..faa45af 100644
--- a/boot-scr/boot.txt
+++ b/boot-scr/boot.txt
@@ -4,7 +4,7 @@
# Boot script for Beagle Hybrid / Panda Hybrid / GTA04
#
# Author: H. Nikolaus Schaller
-# Copyright Golden Delicious Computers 2010-2012
+# Copyright Golden Delicious Computers 2010-2013
# licensed under GPL 2.0
#
#
@@ -42,7 +42,7 @@ status set 8 # give fast feedback that U-Boot did start (red power led)
# we have to add an "x" because the test command treats empty string as equal to anything
-if test "x${gta04}" != "x${VERSION}"
+if test "x${scriptversion}" != "x${VERSION}"
then
# set up default environment
@@ -168,7 +168,7 @@ if test "x${gta04}" != "x${VERSION}"
setenv bootscript 'echo Running bootscript ...; source ${bootaddr}'
# write script version number permanently
- setenv gta04 "${VERSION}"
+ setenv scriptversion "${VERSION}"
flash=yes # trigger flashing
fi