summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2016-06-27 21:25:19 -0500
committerVishal Mahaveer2016-06-27 21:25:19 -0500
commita0218d82d1aea86ab116a9d399eeb64e530e3eae (patch)
treed748c6db29303d8f833d68722bd648b9fb076bdb
parent4c5cd957cf6541f84e95402458a256a90933d840 (diff)
downloaddevice-ti-jacinto6evm-a0218d82d1aea86ab116a9d399eeb64e530e3eae.tar.gz
device-ti-jacinto6evm-a0218d82d1aea86ab116a9d399eeb64e530e3eae.tar.xz
device-ti-jacinto6evm-a0218d82d1aea86ab116a9d399eeb64e530e3eae.zip
jacinto6evm: fastboot: fix board_rev handling
Update script to use only first character of board rev. Some boards have revision set as "H.0" Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rwxr-xr-xfastboot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 9347718..18a68d3 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -63,7 +63,7 @@ fi
63#product=`${FASTBOOT} getvar product 2>&1 | grep product | awk '{print$2}'` 63#product=`${FASTBOOT} getvar product 2>&1 | grep product | awk '{print$2}'`
64cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` 64cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'`
65cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'` 65cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'`
66boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}'` 66boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}' | cut -b 1`
67 67
68 68
69# Make EMU = HS 69# Make EMU = HS