• Paul Kocialkowski's avatar
    omap-common: SYS_BOOT fallback logic correction and support for more devices · 8ceb34a1
    Paul Kocialkowski authored
    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: default avatarPaul Kocialkowski <contact@paulk.fr>
    Acked-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
    Tested-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
    8ceb34a1
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...