u-boot/drivers
Tony Dinh ee2ce29223 bootstd: Skip over bad device during bootflows scanning
During bootstd scanning for bootdevs, if bootdev_hunt_drv() encounters
a device not found error (e.g. ENOENT), let it return a successful status
so that bootstd will continue scanning the next devices, not stopping
prematurely.

Background:

During scanning for bootflows, it's possible for bootstd to encounter a
faulty device controller. Also when the same u-boot is used for another
variant of the same board, some device controller such as SATA might
not exist.

I've found this issue while converting the Marvell Sheevaplug board to
use bootstd. This board has 2 variants, the original Sheevaplug has MMC and
USB only, but the later variant comes with USB, MMC, and eSATA ports. We
have been using the same u-boot (starting with CONFIG_IDE and later with DM
CONFIG_SATA) for both variants. This worked well with the old
envs-scripting booting scheme.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-10 11:01:50 -05:00
..
adc dm: adc: imx93-adc depends on ADC (fix boot) 2023-10-18 10:02:49 +02:00
ata bootstd: Skip over bad device during bootflows scanning 2023-11-10 11:01:50 -05:00
axi
bios_emulator common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
block rockchip: block: blk-uclass: add bounce buffer flag to blk_desc 2023-10-24 15:55:17 +08:00
bootcount bootcount: Add driver model I2C driver 2023-10-31 09:09:04 +01:00
bus
button
cache
clk tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
core serial: zynqmp: Fetch baudrate from dtb and update 2023-11-07 13:47:08 +01:00
cpu cpu: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
crypto Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
ddr treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
demo
dfu dfu: mmc: Add support for exposing whole mmc device 2023-10-31 14:53:05 +01:00
dma tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
extcon
fastboot common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
firmware tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
fpga arm64: zynqmp: Fix Siva's email address format 2023-10-09 10:25:32 +02:00
fuzz
fwu-mdata
gpio tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
hwspinlock hwspinlock: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:24 -04:00
i2c i2c: Implement i2c_get_chip_by_phandle() 2023-10-31 09:08:51 +01:00
input input: avoid NULL dereference 2023-10-11 10:35:24 -04:00
iommu
led drivers: led: bcm6858: do not use null label to find the top 2023-07-25 12:44:46 -04:00
mailbox tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
memory tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
mfd
misc tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
mmc tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
mtd tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
mux tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
net tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
nvme blk: Use a macro for the typical block size 2023-10-10 16:19:29 -04:00
pch x86: Convert some debug statements to use logging 2023-07-17 17:23:14 +08:00
pci Merge tag 'u-boot-rockchip-20231007' of https://source.denx.de/u-boot/custodians/u-boot-rockchip 2023-10-08 09:58:55 -04:00
pci_endpoint
phy tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
pinctrl pinctrl: rzg2l: Drop <common.h> 2023-11-02 11:30:18 +01:00
power tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
pwm pwm: mtk: add support for MediaTek MT7988 SoC 2023-08-03 09:40:49 -04:00
qe
ram tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
reboot-mode
remoteproc tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
reset tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
rng rng: Add StarFive JH7110 RNG driver 2023-11-02 17:45:53 +08:00
rtc drivers: rtc: max313xx: provide read8/write8 2023-07-25 12:44:46 -04:00
scsi scsi: Have scsi_init_dev_desc_priv() use memset 2023-11-10 10:59:24 -05:00
serial tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
sm drivers: sm: bind child sm devices in the device tree 2023-11-06 09:45:47 +01:00
smem
soc tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
sound
spi tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
spmi
sysinfo
sysreset tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
tee
thermal tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
timer riscv: andesv5: Prefer using the generic RISC-V timer driver in S-mode 2023-10-04 18:23:54 +08:00
tpm tpm: sandbox: Update for needed TPM2 capabilities 2023-10-27 13:08:25 +03:00
ufs tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
usb tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
video Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi 2023-10-23 11:39:33 -04:00
virtio bootstd: Rename bootdev_setup_sibling_blk() 2023-08-09 23:31:11 +08:00
w1
w1-eeprom
watchdog wdt: nuvoton: Fix reset/expire function error 2023-10-19 07:51:12 +02:00
xen
Kconfig drivers: introduce Secure Monitor uclass 2023-10-15 12:23:48 +02:00
Makefile sunxi: add R528/T113-s3/D1(s) DRAM initialisation code 2023-10-22 23:41:52 +01:00