From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Schmelzer Date: Thu, 27 Aug 2015 06:11:06 +0200 Subject: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction In-Reply-To: <1440629971.19618.27.camel@collins> References: <1440517253-18394-1-git-send-email-contact@paulk.fr> <55DD5B96.5030406@schmelzer.or.at> <1440586267.2524.21.camel@collins> <20150826132326.GT25532@bill-the-cat> <1440629971.19618.27.camel@collins> Message-ID: <55DE8DDA.7090606@schmelzer.or.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2015-08-27 00:59, Paul Kocialkowski wrote: > 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. Hi Paul, agree with that, looking forward your new patch. best regards, Hannes