]> Git Repo - u-boot.git/commit
mmc: fsl_esdhc_spl: Add support for builds without CONFIG_SYS_MMC_U_BOOT_OFFS
authorPali Rohár <[email protected]>
Fri, 5 Aug 2022 20:09:41 +0000 (22:09 +0200)
committerMarek Behún <[email protected]>
Fri, 16 Sep 2022 16:46:14 +0000 (18:46 +0200)
commit5a428e751044525f95d15f180188cc7433648b82
tree67f1eeffebf3c13ff1b6380eca1dfa422577e3ac
parent7696b80ec5e90ec3c2fa759cfe129918ce0e0a26
mmc: fsl_esdhc_spl: Add support for builds without CONFIG_SYS_MMC_U_BOOT_OFFS

When fixed offset via CONFIG_SYS_MMC_U_BOOT_OFFS is not specified then
expects that U-Boot proper is placed immediately after SPL without any
additional padding.

This allows to generate smaller SPL+U-Boot final binary as it is not
required to specify fixed offset to U-Boot proper at SPL compile time.

In this case offset to U-Boot proper is calculated at SPL compile time in
linker script.

Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Signed-off-by: Marek Behún <[email protected]>
arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
drivers/mmc/fsl_esdhc_spl.c
This page took 0.03656 seconds and 4 git commands to generate.