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-16 09:09:54 -04:00
2023-10-02 10:55:44 -04:00
2023-05-05 17:48:44 -04:00
2022-10-30 20:07:16 +01:00
2023-02-07 14:33:50 -05:00
2023-08-25 13:54:33 -04:00
2023-08-08 10:22:03 -04:00
2023-02-09 16:32:25 -05:00
2023-10-10 16:25:48 -04:00
2023-08-11 07:33:40 -06:00
2023-10-06 14:38:12 -04:00
2023-07-17 15:38:11 -04:00
2023-08-19 04:12:53 +02:00
2022-11-02 08:42:03 +01:00
2023-02-19 21:15:15 +01:00
2023-02-06 13:04:52 -05:00
2023-02-09 16:32:25 -05:00
2023-05-02 14:23:34 -04:00
2023-05-15 10:00:30 +02:00
2023-01-20 12:27:06 -05:00
2023-04-27 13:51:06 -04:00
2023-01-27 14:47:57 -05:00
2023-08-19 04:12:53 +02:00
2022-10-30 20:07:17 +01:00
2023-10-11 15:43:55 -04:00
2023-03-02 17:45:58 -05:00
2023-09-11 16:27:49 -04:00
2023-01-16 18:01:10 +08:00
2022-12-09 14:10:28 -05:00
2023-10-15 12:23:48 +02:00
2023-10-09 15:24:31 -04:00
2023-02-10 07:41:40 -05:00
2022-12-07 16:04:17 -05:00
2022-12-22 10:31:49 -05:00
2022-12-22 10:31:49 -05:00
2023-09-04 10:51:58 -04:00