[U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

Paul Kocialkowski
2015-08-26T22:59:31Z

Le mercredi 26 ao?t 2015 ? 09:23 -0400, Tom Rini a ?crit :
> On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote:
>
> [snip]
> > On all OMAP platforms, USB peripheral loading is done via bulk USB and I
> > suspect it is the same on am33xx platforms.
>
> Actually no! :(
>
> On OMAP3/4/5 (so dra7xx/am57xx) it's the same bulk USB. On
> AM33xx/AM43xx it's (in ROM) USB RNDIS. That's why on am33xx/am43xx we
> continue on with USB RNDIS (which is what SPL_USBETH_SUPPORT implements,
> not the other USB "ethernet" class).

Interesting. So with this in mind, would it be acceptable to assume that
BOOT_DEVICE_USB and BOOT_DEVICE_USBETH are always two distinct boot
devices and thus not have to care about whether they're equal or not and
just assume they're not, like any other BOOT_DEVICE?

This would greatly simplify the logic and make everything more readable.

I can submit a new patch set in that direction tomorrow.

--
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150827/1d95d8cd/attachment.sig>