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
..
2023-10-06 14:38:13 -04:00
2023-10-06 14:38:12 -04:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2022-01-19 18:11:34 +01:00
2022-08-04 16:18:47 -04:00
2023-07-17 17:12:07 +08:00
2023-03-14 16:08:51 -06:00
2023-06-23 14:38:16 -04:00
2021-04-20 07:31:12 -04:00
2023-10-09 15:24:31 -04:00
2023-02-07 14:33:50 -05:00
2023-05-13 09:52:32 -04:00