u-boot/board/advantech
Marek Vasut e936db9536 spl: mmc: Introduce proper layering for spl_mmc_get_uboot_raw_sector()
Introduce two new weak functions, arch_spl_mmc_get_uboot_raw_sector() and
board_spl_mmc_get_uboot_raw_sector(), each of which can be overridden at
a matching level, that is arch/ and board/ , in addition to the existing
weak function spl_mmc_get_uboot_raw_sector().

This way, architecture code can define a default architecture specific
implementation of arch_spl_mmc_get_uboot_raw_sector(), while the board
code can override that using board_spl_mmc_get_uboot_raw_sector() which
takes precedence over the architecture code. In some sort of unlikely
special case where code has to take precedence over board code too, the
spl_mmc_get_uboot_raw_sector() is still left out to be a weak function,
but it should be unlikely that this is ever needed to be overridden.

Signed-off-by: Marek Vasut <marex@denx.de>
2023-10-17 23:55:10 +02:00
..
imx8mp_rsb3720a1 spl: mmc: Introduce proper layering for spl_mmc_get_uboot_raw_sector() 2023-10-17 23:55:10 +02:00
imx8qm_dmsse20_a1 treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
imx8qm_rom7720_a1 treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
som-db5800-som-6867 Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
Kconfig x86: Add Advantech SOM-DB5800/SOM-6867 support 2016-07-12 13:46:01 +08:00