u-boot/arch
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
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
m68k dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
microblaze Xilinx changes for v2022.04-rc3 2022-02-21 08:32:02 -05:00
mips dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nds32 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nios2 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
powerpc powerpc: mpc8xx: drop CONFIG_SYS_RESET_ADDRESS 2022-02-10 16:44:23 -05:00
riscv k210: dts: align plic node with Linux 2022-03-15 17:43:11 +08:00
sandbox acpi: Move acpi_write_tables() to a generic header 2022-02-11 11:29:23 -05:00
sh dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
x86 Revert "x86: Move FACP table into separate functions" 2022-03-31 08:27:52 -04:00
xtensa dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
.gitignore
Kconfig powerpc: Fix incorrect SYS_IMMR migration values 2022-03-31 08:27:52 -04:00
u-boot-elf.lds