u-boot/include
Pali Rohár f75b7b82a3 Nokia RX-51: Load bootmenu also from uSD card
By default bootmenu is loaded only from eMMC. After this change U-Boot
first tries to load bootmenu from uSD card and if it fails then fallback to
eMMC. People want to boot alternative OS from removable uSD without need to
modify eMMC content. So this backward compatible change allows it.

Part of this change is also optimization of trymmc* macros so they can be
used in preboot macro for loading bootmenu.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210618132704.32066-2-pali@kernel.org
2021-07-15 17:56:05 +05:30
..
acpi
andestech
asm-generic global-data.h: add build-time sanity check of sizeof(struct global_data) 2021-07-01 16:34:32 -04:00
bedbug
broadcom
cavium
configs Nokia RX-51: Load bootmenu also from uSD card 2021-07-15 17:56:05 +05:30
cramfs
crypto
dm remove struct uclass_driver::ops 2021-07-06 10:38:03 -06:00
dt-bindings lpc32xx: import device tree from Linux 2021-07-06 14:11:50 -04:00
environment arm: ti: environment: Move <environment/ti/boot.h> in to <configs/ti_omap5_common.h> 2021-07-15 17:56:04 +05:30
faraday
fsl-mc
jffs2
kendryte clk: k210: Remove bypass driver 2021-06-17 09:40:57 +08:00
keys
linux soc: ti: pruss: Add a platform driver for PRUSS in TI SoCs 2021-07-15 17:56:04 +05:30
lzma
mtd
mvebu phy: marvell: add RX training command 2021-04-29 07:45:24 +02:00
net ls1012a: net: pfe: remove pfe stop from bootcmd 2021-06-16 18:14:08 +05:30
power power: pmic: tps65941: Add compatible for LP876441 2021-07-15 17:56:04 +05:30
samsung
spmi
synopsys
tee lib: optee: migration optee_copy_fdt_nodes for OF_LIVE support 2021-04-12 14:25:31 -04:00
test test: Add a test for print_buffer() 2021-06-08 11:39:09 -04:00
u-boot lib: Add support for ECDSA image signing 2021-04-14 15:06:08 -04:00
usb
xen
zfs
.gitignore
_exports.h
ACEX1K.h
adc.h
addr_map.h
ahci.h
ali512x.h
altera.h
android_ab.h
android_bootloader_message.h
android_image.h
ansi.h
api.h
api_public.h api: fix a potential serious bug caused by undef CONFIG_SYS_64BIT_LBA 2021-03-19 10:36:06 -04:00
armcoremodule.h
asm-offsets.h
ata.h Fix IDE commands issued, fix endian issues, fix non MMIO 2021-04-20 07:31:12 -04:00
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h
axi.h
axp152.h
axp209.h
axp221.h
axp305.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcb.h
bcd.h
binman.h
binman_sym.h
bios_emul.h
bitfield.h
blk.h
bloblist.h
bmp_layout.h
boot_fit.h
bootcount.h
bootm.h
bootretry.h
bootstage.h bootstage: Eliminate when not enabled 2021-07-07 10:17:54 -04:00
bouncebuf.h
btrfs.h
bus_vcxk.h
button.h
bzlib.h
cache.h
capitalization.h
cbfs.h cbfs: Support reading compression information 2021-03-27 13:59:37 +13:00
charset.h efi_loader: documentation codepage_437[] 2021-04-10 12:00:24 +02:00
circbuf.h
cli.h
cli_hush.h
clk-uclass.h
clk.h clk: Allow force setting clock defaults before relocation 2021-06-17 09:40:57 +08:00
clock_legacy.h
cmd_spl.h
command.h command: Fix operation of !CONFIG_CMDLINE 2021-03-27 15:04:31 +13:00
common.h
common_timing_params.h
compiler.h
config_distro_bootcmd.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h console: Report an error when output buffer is exhausted 2021-06-08 11:39:09 -04:00
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h
cpu_func.h
cros_ec.h pwm: Add a driver for Chrome OS EC PWM 2021-04-10 16:08:39 +02:00
cros_ec_message.h
ctype.h
ddr_spd.h
debug_uart.h
dfu.h dfu: add error callback 2021-06-18 10:09:41 +02:00
dialog_pmic.h
display.h
display_options.h display_options: Split print_buffer() into two functions 2021-06-08 11:39:09 -04:00
div64.h
dm-demo.h
dm.h
dm9000.h
dma-uclass.h
dma.h
dp83848.h
ds1722.h
dsi_host.h
dt-structs.h dm: core: Include dt-decl.h automatically 2021-03-26 17:03:08 +13:00
dt_table.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h
ec_commands.h
edid.h
eeprom.h
eeprom_field.h
eeprom_layout.h
efi.h efi_loader: EFI_UNACCEPTED_MEMORY_TYPE 2021-04-10 12:00:24 +02:00
efi_api.h efi: Add ESRT to the EFI system table 2021-03-25 20:19:19 +01:00
efi_driver.h
efi_dt_fixup.h
efi_load_initrd.h
efi_loader.h efi_loader: Always install FMPs 2021-07-02 09:37:01 +02:00
efi_rng.h
efi_selftest.h efi_loader: improve documentation of enum efi_test_phase 2021-04-10 12:00:24 +02:00
efi_tcg2.h efi_loader: add PE/COFF image measurement 2021-05-28 16:17:01 +02:00
efi_variable.h
elf.h
env.h env: allow environment to be amended from control dtb 2021-05-04 11:50:50 -04:00
env_attr.h
env_callback.h
env_default.h env: allow environment to be amended from control dtb 2021-05-04 11:50:50 -04:00
env_flags.h
env_internal.h env: add ENV_ERASE_PTR macro 2021-04-16 17:32:34 -04:00
errno.h sandbox: errno: avoid conflict with libc's errno 2021-05-24 14:21:30 -04:00
eth_phy.h
ethsw.h
exception.h
exports.h
ext4fs.h
ext_common.h
extension_board.h cmd: add support for a new "extension" command 2021-05-13 13:09:05 -04:00
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt.h
fdt_region.h
fdt_simplefb.h
fdt_support.h spl: fit: Also record architecture in /fit-images 2021-06-23 09:48:36 +02:00
fdtdec.h dm: core: Add size operations on device tree references 2021-04-29 03:23:39 -07:00
fis.h
flash.h cfi_flash: Fix detection of 8-bit bus flash devices via address shift 2021-04-06 08:55:53 +02:00
fm_eth.h
fpga.h
fs.h fs: fat: add file attributes to struct fs_dirent 2021-07-12 20:30:48 +02:00
fs_internal.h
fs_loader.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h m68k: Remove M5475x boards 2021-07-07 19:52:22 -04:00
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h mmc: fsl_esdhc: add pulse width detection workaround 2021-04-06 18:36:04 +08:00
fsl_esdhc_imx.h Revert "mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output" 2021-06-22 12:03:32 +08:00
fsl_fman.h
fsl_ifc.h fsl_ifc: fix typo in the NOR CSOR register definition 2021-03-23 15:27:08 +05:30
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec.h imx8m: Add DEK blob encapsulation for imx8m 2021-04-08 20:29:52 +02:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h ppc: Remove gdsys hrcon boards 2021-04-10 08:04:42 -04:00
generic-phy.h
getopt.h
gt64120.h
gzip.h
handoff.h
hang.h
hash.h
hda_codec.h
hexdump.h hexdump: Allow ctrl-c to interrupt output 2021-06-08 11:39:09 -04:00
host_arch.h
hw_sha.h hash: Allow for SHA512 hardware implementations 2021-04-12 17:17:11 -04:00
hwconfig.h
hwspinlock.h
i2c.h sandbox: i2c: Support i2c emulation with of-platdata 2021-03-26 17:03:08 +13:00
i2c_eeprom.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h
image.h common: fit: Update board_fit_image_post_process() to pass fit and node_offset 2021-06-11 16:34:52 +05:30
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h
init.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
irq.h
irq_func.h
k3-avs.h
k3-clk.h clk: add support for TI K3 SoC clocks 2021-06-11 16:34:52 +05:30
k3-dev.h cmd: ti: pd: Add debug command for K3 power domains 2021-06-11 16:34:52 +05:30
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led.h
libata.h
libtizen.h
linker_lists.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
linux_logo.h
lmb.h lmb: add lmb_is_reserved_flags 2021-06-07 10:48:40 -04:00
log.h log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
lxt971a.h
lynxkdi.h
lz4.h
mailbox-uclass.h
mailbox.h
malloc.h malloc: add SPDX license identifiers 2021-06-23 08:45:03 -04:00
mapmem.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
mipi_dsi.h
misc.h
mk48t59.h
mm_communication.h
mmc.h mmc: mmc-uclass: change to static about dm function 2021-06-22 12:03:20 +08:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h ppc: Remove MPC8315ERDB board 2021-07-07 19:52:24 -04:00
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h
mtd.h mtd: remove mtd_probe() function 2021-06-24 11:54:07 +05:30
mtd_node.h
mux-internal.h
mux.h
mv88e6352.h
mvebu_mmc.h mmc: mvebu: convert to driver model 2021-04-08 08:50:52 +02:00
mvmfp.h
mxs_nand.h
nand.h
net.h
netdev.h net: calxedagmac: Convert to DM_ETH 2021-04-20 07:31:12 -04:00
ns16550.h
nuvoton_nct6102d.h
nvme.h
of_live.h
omap3_spi.h
onenand_uboot.h
opensbi.h
os.h sandbox: document parameters of os_realloc() 2021-04-06 16:33:19 +12:00
p2sb.h
palmas.h
panel.h
part.h cmd: fs: Use part_get_info_by_dev_and_name_or_num to parse partitions 2021-04-22 14:09:45 -04:00
part_efi.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h pci: Remove non-DM board_pci_fixup_dev() declaration 2021-07-07 19:51:33 -04:00
pci_ep.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pe.h
phy-mipi-dphy.h
phy-sun4i-usb.h
phy.h phy: add nxp tja1103 phy driver 2021-07-06 05:22:41 +03:00
phy_interface.h phy: introduce 1000BaseX and 2500BaseX modes 2021-05-20 13:03:30 +02:00
phys2bus.h
physmem.h
post.h ppc: Remove sbc8641d board 2021-07-07 19:52:24 -04:00
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pvblock.h
pwm.h video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02:00
pwrseq.h
pxa_lcd.h
qfw.h x86: qemu: move QFW to its own uclass 2021-04-12 17:44:55 -04:00
radeon.h
ram.h
rand.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h
rng.h
rtc.h
rtc_def.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandbox-clk.h
sandboxblockdev.h sandbox: Provide a way to bind fixed/removeable devices 2021-03-27 15:04:31 +13:00
sandboxfs.h
sandboxtee.h
sata.h
scf0403_lcd.h
scmi_agent-uclass.h
scmi_agent.h
scmi_protocols.h firmware: scmi: voltage regulator 2021-04-12 17:17:11 -04:00
scp03.h
scsi.h
sdhci.h
sdp.h
search.h
serial.h
sh_pfc.h
signatures.h
sja1000.h
slre.h
smbios.h smbios: Fix BIOS Characteristics Extension Byte 2 2021-06-28 19:57:13 +02:00
smem.h
smsc_lpc47m.h
smsc_sio1007.h
soc.h
sort.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi-mem.h spi: spi-mem: add spi_mem_dtr_supports_op() 2021-06-28 11:56:06 +05:30
spi.h
spi_flash.h sf: Support querying write-protect 2021-03-27 15:04:31 +13:00
spl.h Revert "spl: Drop bd_info in the data section" 2021-04-19 11:34:01 -04:00
spl_gpio.h
splash.h
squashfs.h
st_logo_data.h
status_led.h
stdint.h
stdio.h
stdio_dev.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sunxi_image.h
sy8106a.h
sym53c8xx.h
syscon.h
sysinfo.h sysinfo: Require that sysinfo_detect be called before other methods 2021-05-04 07:57:18 -04:00
sysreset.h
tables_csum.h
tca642x.h
tee.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tlv_eeprom.h tlv_eeprom: Return -ENOSYS when system call is not available 2021-04-06 16:33:19 +12:00
tmu.h
tpm-common.h
tpm-v1.h
tpm-v2.h efi_loader: add PE/COFF image measurement 2021-05-28 16:17:01 +02:00
tpm_api.h
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
ufs.h
universe.h
usb.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
versalpl.h
version.h
video.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_osd.h
virtex2.h
virtio.h
virtio_ring.h
virtio_types.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w1-eeprom.h w1: replace dt detection by automatic detection 2021-05-13 13:09:09 -04:00
w1.h w1: replace dt detection by automatic detection 2021-05-13 13:09:09 -04:00
w83c553f.h
wait_bit.h
watchdog.h
wdt.h
winbond_w83627.h
xen.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_firmware.h
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h