summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2016-03-15 14:03:14 -0500
committerVishal Mahaveer2016-03-15 14:03:14 -0500
commit3f8a835a363ccb7ab9f617cab894fc98c7ca9d26 (patch)
tree694c473362ef53c580cba657d38608f8b1864f6a
parent96092fbd804daaf9667fa428c93231471259686c (diff)
downloaddevice-ti-jacinto6evm-3f8a835a363ccb7ab9f617cab894fc98c7ca9d26.tar.gz
device-ti-jacinto6evm-3f8a835a363ccb7ab9f617cab894fc98c7ca9d26.tar.xz
device-ti-jacinto6evm-3f8a835a363ccb7ab9f617cab894fc98c7ca9d26.zip
jacinto6evm: update fastboot script for HS devices
In latest u-boot and kernel code base, we no longer have separate dtbs for HS devices. Update the fastboot script to match the same. Change-Id: I6c5de2a844d55dea585375bb24a3e9b0af733cdd Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rwxr-xr-xfastboot.sh17
1 files changed, 7 insertions, 10 deletions
diff --git a/fastboot.sh b/fastboot.sh
index 1be6752..4c3320a 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -70,21 +70,18 @@ if [ ${cputype} = "EMU" ] || [ ${cputype} = "HS" ]; then
70 cputype="HS" 70 cputype="HS"
71 xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO" 71 xloader="${PRODUCT_OUT}${cputype}_QSPI_MLO"
72 uboot="${PRODUCT_OUT}${cputype}_u-boot.img" 72 uboot="${PRODUCT_OUT}${cputype}_u-boot.img"
73 if [ ${cpu} = "J6ECO" ]; then
74 environment="${PRODUCT_OUT}dra72-hs-evm-lcd10.dtb"
75 else
76 environment="${PRODUCT_OUT}dra7-hs-evm-lcd10.dtb"
77 fi
78# If fastboot does not support getvar default to GP 73# If fastboot does not support getvar default to GP
79elif [ ${cputype} = "" ] || [ ${cputype} = "GP" ]; then 74elif [ ${cputype} = "" ] || [ ${cputype} = "GP" ]; then
80 cputype="GP" 75 cputype="GP"
81 xloader="${PRODUCT_OUT}${cputype}_MLO" 76 xloader="${PRODUCT_OUT}${cputype}_MLO"
82 uboot="${PRODUCT_OUT}u-boot.img" 77 uboot="${PRODUCT_OUT}u-boot.img"
83 if [ ${cpu} = "J6ECO" ]; then 78fi
84 environment="${PRODUCT_OUT}dra72-evm-lcd10.dtb" 79
85 else 80# Based on cpu, decide the dtb to flash, default fall back to J6
86 environment="${PRODUCT_OUT}dra7-evm-lcd10.dtb" 81if [ ${cpu} = "J6ECO" ]; then
87 fi 82 environment="${PRODUCT_OUT}dra72-evm-lcd10.dtb"
83else
84 environment="${PRODUCT_OUT}dra7-evm-lcd10.dtb"
88fi 85fi
89 86
90# Create the filename 87# Create the filename