u-boot/arch/arm/mach-stm32mp
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
..
cmd_stm32prog stm32prog: add partition name in treat_partition_list error messages 2022-01-24 11:01:41 +01:00
include/mach stm32mp: psci: Implement PSCI system suspend and DRAM SSR 2022-03-15 09:16:55 +01:00
boot_params.c sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
bsec.c stm32mp1: bsec: add missing dev in function comment 2022-03-15 09:10:52 +01:00
cmd_stm32key.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
cpu.c stm32mp15: tidy up #ifdefs in cpu.c 2021-11-10 17:07:31 +01:00
dram_init.c stm32mp: Fix board_get_usable_ram_top() 2021-09-06 10:00:11 +02:00
ecdsa_romapi.c arm: stm32mp1: Implement ECDSA signature verification 2021-08-16 10:49:35 +02:00
fdt.c tee: add a stub for tee_find_device 2021-10-05 08:44:48 -04:00
Kconfig configs: stm32mp15: Enable OF_BOARD flag 2022-01-24 11:03:21 +01:00
Makefile arm: stm32mp1: Implement ECDSA signature verification 2021-08-16 10:49:35 +02:00
psci.c stm32mp: psci: Implement PSCI system suspend and DRAM SSR 2022-03-15 09:16:55 +01:00
pwr_regulator.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
spl.c spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
syscon.c stm32mp: syscon: manage clock when present in device tree 2021-07-16 09:28:46 +02:00
tzc400.c arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00