diff options
author | Vishal Mahaveer | 2016-06-27 21:25:19 -0500 |
---|---|---|
committer | Praneeth Bajjuri | 2017-11-28 15:02:34 -0600 |
commit | a35e0aa406c88cbb3c1b28cef1d4118881eaaf2e (patch) | |
tree | 5ffd6f9cf2294aaa2619ed2105f21624a0d42389 | |
parent | 69474ecd22e673f037554c90e003d0f6eafe42ff (diff) | |
download | device-ti-am57xevm-a35e0aa406c88cbb3c1b28cef1d4118881eaaf2e.tar.gz device-ti-am57xevm-a35e0aa406c88cbb3c1b28cef1d4118881eaaf2e.tar.xz device-ti-am57xevm-a35e0aa406c88cbb3c1b28cef1d4118881eaaf2e.zip |
am57xevm: fastboot: fix board_rev handling
Update script to use only first character of board rev.
Some boards (IDK) have revision set as "1.3A pr 1.3B"
Change-Id: Ifb189deb41f8cd24297ef3979a11b46350f2fa6c
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rwxr-xr-x | fastboot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot.sh b/fastboot.sh index 0d7776a..d25ac0c 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 |