u-boot/arch/arm/mach-rockchip
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
..
px30 engicam: px30: Add Engicam PX30.Core C.TOUCH 2.0 10.1" OF 2021-12-24 14:56:58 +08:00
rk322x serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3036 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3128 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3188 treewide: fdt: Move fdt_get_config_... to ofnode_conf_read... 2021-09-25 09:46:15 -06:00
rk3288 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3308 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3328 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3368 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rk3399 rockchip: rk3399: Add support for chromebook_kevin 2022-03-18 18:12:03 +08:00
rk3568 rockchip: rk3568: add arch_cpu_init() 2021-12-24 11:10:24 +08:00
rv1108 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
board.c ARM: fix LTO for rockchip and samsung 2021-05-24 14:21:30 -04:00
boot_mode.c rockchip: boot_mode: fix fastboot command 2021-12-24 15:17:51 +08:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
Kconfig rockchip: Set default LNX_KRNL_IMG_TEXT_OFFSET_BASE to SYS_TEXT_BASE 2022-03-18 18:12:03 +08:00
make_fit_atf.py rockchip: make_fit_atf: ignore empty PT_LOAD segment 2020-09-16 16:41:30 +08:00
Makefile rockchip: Add rk3568 architecture core 2021-06-18 14:36:24 +08:00
misc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
px30-board-tpl.c Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rk3036-board-spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sdram.c lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
spl-boot-order.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c spl: mmc: extend spl_mmc_boot_mode() to take mmc argument 2022-04-04 23:24:17 +01:00
tpl.c Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00