From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Aug 2015 17:03:49 -0400 Subject: [U-Boot] [U-Boot, v2] omap-common: SYS_BOOT fallback logic correction and support for more devices In-Reply-To: <1440665169-8070-1-git-send-email-contact@paulk.fr> References: <1440665169-8070-1-git-send-email-contact@paulk.fr> Message-ID: <20150828210349.GF25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Aug 27, 2015 at 10:46:09AM +0200, Paul Kocialkowski wrote: > The SYS_BOOT-based fallback shouldn't only check for one of the conditions of > use and then let the switch/case handle each boot device without enforcing the > conditions for each type of boot device again. > > For instance, this behaviour would trigger the fallback for UART when > BOOT_DEVICE_UART is defined, CONFIG_SPL_YMODEM_SUPPORT is enabled (which should > be a show-stopper) and e.g. BOOT_DEVICE_USB is enabled and not > CONFIG_SPL_USB_SUPPORT. > Separating the logic for USB and UART solves this. > > In addition, this adds support for more peripheral devices (USBETH and CPGMAC) > to the fallback mechanism. Note that the USBETH boot device should always be > different from the USB boot device (each should match a different bootrom > handoff case). > > Signed-off-by: Paul Kocialkowski > Acked-by: Hannes Schmelzer > Tested-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: