diff options
author | Vishal Mahaveer | 2016-03-15 14:03:14 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2016-03-15 14:03:14 -0500 |
commit | 3f8a835a363ccb7ab9f617cab894fc98c7ca9d26 (patch) | |
tree | 694c473362ef53c580cba657d38608f8b1864f6a | |
parent | 96092fbd804daaf9667fa428c93231471259686c (diff) | |
download | device-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-x | fastboot.sh | 17 |
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 |
79 | elif [ ${cputype} = "" ] || [ ${cputype} = "GP" ]; then | 74 | elif [ ${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 | 78 | fi |
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" | 81 | if [ ${cpu} = "J6ECO" ]; then |
87 | fi | 82 | environment="${PRODUCT_OUT}dra72-evm-lcd10.dtb" |
83 | else | ||
84 | environment="${PRODUCT_OUT}dra7-evm-lcd10.dtb" | ||
88 | fi | 85 | fi |
89 | 86 | ||
90 | # Create the filename | 87 | # Create the filename |