]> git.sur5r.net Git - u-boot/commitdiff
ARM: am33xx: define BOOT_DEVICE_ONENAND
authorLadislav Michl <ladis@linux-mips.org>
Sat, 1 Apr 2017 15:15:04 +0000 (17:15 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:25 +0000 (11:57 -0400)
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>
arch/arm/include/asm/arch-am33xx/spl.h

index 9df7b4ac45e00c548c60540d8359b1c2db4f8d89..4b5a48edd87781f0c406a8bc65ffa06dbe80403c 100644 (file)
@@ -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