diff options
-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" |