[U-Boot] [RFC PATCH v2 4/5] dra7x: boot: add dfu bootmode support
B, Ravi
ravibabu at ti.com
Mon Jul 25 16:17:35 CEST 2016
Hi Tom
>> +++ b/arch/arm/include/asm/arch-omap5/spl.h
>> @@ -20,7 +20,7 @@
>> #define BOOT_DEVICE_QSPI_1 0x0A
>> #define BOOT_DEVICE_QSPI_4 0x0B
>> #define BOOT_DEVICE_UART 0x43
>> -#define BOOT_DEVICE_USB 0x45
>> +#define BOOT_DEVICE_DFU 0x45
>So you're breaking regular USB gadget support with this change, on these platforms, yes?
You are correct. This platform does not support BOOT_DEVICE_USB support.
The BOOT_DEVICE_USB is basically the USBHOST-MSC support (CONFIG_SPL_USB_SUPPORT), i.e, boot from mass storage device.
Yes, this platform don't have USBHOST-MSC support, hence BOOT_DEVICE_USB is not valid for this device and removed, and also does not support BOOT_DEVICE_USBETH as well.
Instead BOOT_DEVICE_DFU is defined for USB-Gadget-DFU support, i.e, boot from USB-DFU.
Regards
Ravi
More information about the U-Boot
mailing list