u-boot-brain/common/spl
Lukasz Majewski d695d66278 spl: eMMC/SD: Provide one __weak spl_boot_mode() function
The goal of this patch is to clean up the code related to choosing SPL
MMC boot mode.

The spl_boot_mode() now is called only in spl_mmc_load_image() function,
which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled.

To achieve the goal, all per mach/arch implementations eligible for
unification has been replaced with one __weak implementation.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Acked-by: Michal Simek <michal.simek@xilinx.com> (For ZynqMP)
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
2018-02-07 22:06:18 -05:00
..
Kconfig spl: add option to disable SPL banner output 2018-01-28 12:27:36 -05:00
Makefile spl: rename config item SPL_ATF_SUPPORT to SPL_ATF 2017-11-26 00:39:07 +01:00
spl_atf.c spl: atf: pass NULL for bl32_ep pc 2018-01-28 17:12:39 +01:00
spl_bootrom.c spl: add a 'return to bootrom' boot method 2017-08-13 17:12:19 +02:00
spl_dfu.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
spl_ext.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
spl_fat.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
spl_fit.c SPL: Add FIT data-position property support 2017-12-12 21:33:38 -05:00
spl_mmc.c spl: eMMC/SD: Provide one __weak spl_boot_mode() function 2018-02-07 22:06:18 -05:00
spl_nand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_net.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
spl_nor.c spl: make image arg or fdt blob address reconfigurable 2017-05-08 11:38:40 -04:00
spl_onenand.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_ram.c binman: Add binman support to spl_ram.c 2017-12-12 19:53:45 -07:00
spl_sata.c dm: scsi: Document and rename the scsi_scan() parameter 2017-07-11 10:08:19 -06:00
spl_sdp.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
spl_spi.c spl: spi: override CONFIG_SYS_SPI_U_BOOT_OFFS via /config-property 2017-05-11 22:03:39 -04:00
spl_ubi.c spl: Make UBI fastmap support Kconfig selectable 2017-07-06 13:09:37 -04:00
spl_usb.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl_xip.c stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
spl_ymodem.c spl: Add a name to the SPL load-image methods 2016-12-09 08:40:13 -05:00
spl.c spl: include timezone in banner 2018-01-29 12:50:13 -05:00