diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2016-06-27 22:25:19 -0400 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2016-06-27 22:25:19 -0400 |
commit | a0218d82d1aea86ab116a9d399eeb64e530e3eae (patch) | |
tree | d748c6db29303d8f833d68722bd648b9fb076bdb | |
parent | 4c5cd957cf6541f84e95402458a256a90933d840 (diff) | |
download | jacinto6evm-a0218d82d1aea86ab116a9d399eeb64e530e3eae.tar.gz |
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 #product=`${FASTBOOT} getvar product 2>&1 | grep product | awk '{print$2}'` cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'` cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'` -boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}'` +boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}' | cut -b 1` # Make EMU = HS |