u-boot/arch/arm/mach-omap2
Andre Przywara 5907357322 spl: mmc: extend spl_mmc_boot_mode() to take mmc argument
Platforms can overwrite the weak definition of spl_mmc_boot_mode() to
determine where to load U-Boot proper from.
For most of them this is a trivial decision based on Kconfig variables,
but it might be desirable the probe the actual device to answer this
question.

Pass the pointer to the mmc struct to that function, so implementations
can make use of that.

Compile-tested for all users changed.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Ley Foon Tan <ley.foon.tan@inte.com> (for SoCFPGA)
Acked-by: Lokesh Vutla <lokeshvutla@ti.com> (for OMAP and K3)
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-04-04 23:24:17 +01:00
..
am33xx serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
omap3 arm: omap3: Make some memory functions static and clean headers 2022-02-21 08:35:40 -05:00
omap4 arm: Remove kc1 board 2021-04-10 08:01:24 -04:00
omap5 arm: mach-omap2: load/start remoteproc IPU1/IPU2 2022-02-08 09:41:27 -05:00
abb.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
boot-common.c spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
clocks-common.c arm: mach-omap2: load/start remoteproc IPU1/IPU2 2022-02-08 09:41:27 -05:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
config_secure.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
emif-common.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fdt-common.c treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
hwinit-common.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
lowlevel_init.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mem-common.c am335x, guardian: mem: Add board dependent mem values 2021-07-15 17:56:03 +05:30
omap-cache.c arm: omap2: remove arm_init_domains 2021-03-02 15:53:37 -05:00
pipe3-phy.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
pipe3-phy.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
sata.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sec-common.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysinfo-common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
u-boot-spl.lds linker: Modify linker scripts to be more generic 2019-01-26 22:55:53 -05:00
utils.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00