diff options
author | Vishal Mahaveer | 2014-08-25 13:24:48 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2014-08-25 14:05:07 -0500 |
commit | 4e53504c6805212399a5acad0d7a86e9ac9c5289 (patch) | |
tree | c63eff4e7698461005ffe9c5dd6f2b9619ea2694 | |
parent | 76b0af7cce79eed8bbe948546db1dab7e0681a14 (diff) | |
download | device-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.tar.gz device-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.tar.xz device-ti-jacinto6evm-4e53504c6805212399a5acad0d7a86e9ac9c5289.zip |
jacinto6evm: fix fastboot script for HS devices
Use the correct file name for flashing QSPI on HS device EVM
Change-Id: Iaefa5cbc524d390b594ef8fffbd4ee6608e000bb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rwxr-xr-x | fastboot.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fastboot.sh b/fastboot.sh index d1f5946..2908b61 100755 --- a/fastboot.sh +++ b/fastboot.sh | |||
@@ -66,12 +66,15 @@ cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'` | |||
66 | 66 | ||
67 | 67 | ||
68 | # Make EMU = HS | 68 | # Make EMU = HS |
69 | if [ ${cputype} = "EMU" ]; then | 69 | if [ ${cputype} = "EMU" ] || [ ${cputype} = "HS" ]; then |
70 | cputype="HS" | 70 | cputype="HS" |
71 | xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO" | ||
71 | fi | 72 | fi |
73 | |||
72 | # If fastboot does not support getvar default to GP | 74 | # If fastboot does not support getvar default to GP |
73 | if [ ${cputype} = "" ]; then | 75 | if [ ${cputype} = "" ]; then |
74 | cputype="GP" | 76 | cputype="GP" |
77 | xloader="${PRODUCT_OUT}${cputype}_MLO" | ||
75 | fi | 78 | fi |
76 | 79 | ||
77 | # Based on cpu, decide the dtb to flash, default fall back to J6 | 80 | # Based on cpu, decide the dtb to flash, default fall back to J6 |
@@ -89,7 +92,6 @@ fi | |||
89 | 92 | ||
90 | # Create the filename | 93 | # Create the filename |
91 | bootimg="${PRODUCT_OUT}boot.img" | 94 | bootimg="${PRODUCT_OUT}boot.img" |
92 | xloader="${PRODUCT_OUT}${cputype}_MLO" | ||
93 | uboot="${PRODUCT_OUT}u-boot.img" | 95 | uboot="${PRODUCT_OUT}u-boot.img" |
94 | systemimg="${PRODUCT_OUT}system.img" | 96 | systemimg="${PRODUCT_OUT}system.img" |
95 | userdataimg="${PRODUCT_OUT}userdata.img" | 97 | userdataimg="${PRODUCT_OUT}userdata.img" |