Message ID | 20170401151503.g5tp25ks5j726jeq@lenoch |
---|---|
State | Accepted |
Commit | bf86392251b25da5f34283597bce90d35e71e4a2 |
Delegated to: | Tom Rini |
Headers | show |
Tested-by: Pau Pajuelo <ppajuel@gmail.com> 2017-04-01 17:15 GMT+02:00 Ladislav Michl <ladis@linux-mips.org>: > > 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> > --- > arch/arm/include/asm/arch-am33xx/spl.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h > index 9df7b4ac45..4b5a48edd8 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 > -- > 2.11.0 >
On Sat, Apr 01, 2017 at 05:15:04PM +0200, Ladislav Michl wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h index 9df7b4ac45..4b5a48edd8 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
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> --- arch/arm/include/asm/arch-am33xx/spl.h | 1 + 1 file changed, 1 insertion(+)