summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2017-05-04 16:38:28 -0500
committerJason Reeder2017-05-04 16:38:28 -0500
commit11720b65185f8fa45f5d9aee3f9e9f8308662216 (patch)
treeec7220f08b5b0709686280af2153a5676015f068
parent804e20f9ba04e1006dd470b3acf5b028e932730b (diff)
downloaddevice-ti-am57xevm-11720b65185f8fa45f5d9aee3f9e9f8308662216.tar.gz
device-ti-am57xevm-11720b65185f8fa45f5d9aee3f9e9f8308662216.tar.xz
device-ti-am57xevm-11720b65185f8fa45f5d9aee3f9e9f8308662216.zip
am57xevm: fastboot: Add QSPI support for IDK boot
Allow the script to detect an IDK board and then flash MLO and u-boot into QSPI instead of eMMC. Change-Id: Ia524669aec5bf09b1a7d4f9c3f914ab54e885f2e Signed-off-by: Jason Reeder <jreeder@ti.com>
-rwxr-xr-xfastboot.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/fastboot.sh b/fastboot.sh
index d3dbae2..d5428f1 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -154,8 +154,13 @@ fi
154echo "Create GPT partition table" 154echo "Create GPT partition table"
155${FASTBOOT} oem format 155${FASTBOOT} oem format
156 156
157echo "Setting target for bootloader to emmc" 157if [ ${boardrev} = "1.3A" ]; then
158${FASTBOOT} oem mmc 158 echo "Setting target for bootloader to spi"
159 ${FASTBOOT} oem spi
160else
161 echo "Setting target for bootloader to emmc"
162 ${FASTBOOT} oem mmc
163fi
159 164
160sleep 3 165sleep 3
161 166