diff options
author | Vishal Mahaveer | 2016-06-27 21:25:19 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2016-06-27 21:25:19 -0500 |
commit | a0218d82d1aea86ab116a9d399eeb64e530e3eae (patch) | |
tree | d748c6db29303d8f833d68722bd648b9fb076bdb | |
parent | 4c5cd957cf6541f84e95402458a256a90933d840 (diff) | |
download | device-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-x | fastboot.sh | 2 |
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}'` |
64 | cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` | 64 | cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` |
65 | cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'` | 65 | cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'` |
66 | boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}'` | 66 | boardrev=`${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 |