summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-am33xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2014-11-12 11:57:33 +0100
committerTom Rini <trini@ti.com>2014-12-04 21:28:31 -0500
commite49631afa074e2cb8ea5baddbbe8b9483a491e32 (patch)
treef012183669f527c1dabbf265fb772c1e55399d60 /arch/arm/include/asm/arch-am33xx
parentae525189f032f3ee2edadc6bc66b29e96969592c (diff)
downloadtalos-obmc-uboot-e49631afa074e2cb8ea5baddbbe8b9483a491e32.tar.gz
talos-obmc-uboot-e49631afa074e2cb8ea5baddbbe8b9483a491e32.zip
arm: am33xx: Handle NAND+I2C boot-device the same way as NAND
Re-map NAND&I2C boot-device to the "normal" NAND boot-device. Otherwise the SPL boot IF can't handle this device correctly. Somehow booting with Hynix 4GBit NAND H27U4G8 on Siemens Draco leads to this boot-device passed to SPL from the BootROM. With this change, Draco boots just fine into main U-Boot. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Roger Meier <r.meier@siemens.com> Cc: Samuel Egli <samuel.egli@siemens.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx')
-rw-r--r--arch/arm/include/asm/arch-am33xx/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h
index 8543f4399c..e756418a59 100644
--- a/arch/arm/include/asm/arch-am33xx/spl.h
+++ b/arch/arm/include/asm/arch-am33xx/spl.h
@@ -25,6 +25,7 @@
#else
#define BOOT_DEVICE_XIP 2
#define BOOT_DEVICE_NAND 5
+#define BOOT_DEVICE_NAND_I2C 6
#if defined(CONFIG_AM33XX)
#define BOOT_DEVICE_MMC1 8
#define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */
OpenPOWER on IntegriCloud