summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfastboot.sh6
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
69if [ ${cputype} = "EMU" ]; then 69if [ ${cputype} = "EMU" ] || [ ${cputype} = "HS" ]; then
70 cputype="HS" 70 cputype="HS"
71 xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO"
71fi 72fi
73
72# If fastboot does not support getvar default to GP 74# If fastboot does not support getvar default to GP
73if [ ${cputype} = "" ]; then 75if [ ${cputype} = "" ]; then
74 cputype="GP" 76 cputype="GP"
77 xloader="${PRODUCT_OUT}${cputype}_MLO"
75fi 78fi
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
91bootimg="${PRODUCT_OUT}boot.img" 94bootimg="${PRODUCT_OUT}boot.img"
92xloader="${PRODUCT_OUT}${cputype}_MLO"
93uboot="${PRODUCT_OUT}u-boot.img" 95uboot="${PRODUCT_OUT}u-boot.img"
94systemimg="${PRODUCT_OUT}system.img" 96systemimg="${PRODUCT_OUT}system.img"
95userdataimg="${PRODUCT_OUT}userdata.img" 97userdataimg="${PRODUCT_OUT}userdata.img"