u-boot/arch
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
..
arc treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
arm spl: mmc: Introduce proper layering for spl_mmc_get_uboot_raw_sector() 2023-10-17 23:55:10 +02:00
m68k arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
microblaze treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
mips spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
nios2 event: Convert existing spy records to simple 2023-08-31 13:16:54 -04:00
powerpc spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
riscv riscv: andesv5: Prefer using the generic RISC-V timer driver in S-mode 2023-10-04 18:23:54 +08:00
sandbox - add Amlogic A1 clock driver 2023-10-16 09:09:54 -04:00
sh spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
x86 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
xtensa treewide: unify the linker symbol reference format 2023-08-09 09:21:42 -04:00
.gitignore
Kconfig arch: m68k: Implement relocation 2023-09-06 13:28:58 +02:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds