summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2017-04-01 15:15:04 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-08 15:57:25 (GMT)
commitbf86392251b25da5f34283597bce90d35e71e4a2 (patch)
tree78c112145e962d6d12c10860e76ec74cb50b13ec /arch
parentdf9f07fa3d5a4aedac366eadbee7055ee2c60698 (diff)
downloadu-boot-bf86392251b25da5f34283597bce90d35e71e4a2.tar.xz
ARM: am33xx: define BOOT_DEVICE_ONENAND
am33xx does not support OneNAND, but we need this define anyway to let UBI SPL code compile. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Tested-by: Pau Pajuelo <ppajuel@gmail.com>
Diffstat (limited to 'arch')
-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 9df7b4a..4b5a48e 100644
--- a/arch/arm/include/asm/arch-am33xx/spl.h
+++ b/arch/arm/include/asm/arch-am33xx/spl.h
@@ -47,6 +47,7 @@
#define BOOT_DEVICE_UART 0x41
#define BOOT_DEVICE_USBETH 0x44
#define BOOT_DEVICE_CPGMAC 0x46
+#define BOOT_DEVICE_ONENAND 0xFF /* ROM does not support OneNAND. */
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2