diff options
author | Pali Rohár <pali@kernel.org> | 2022-04-03 00:17:00 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2022-04-26 17:18:39 +0530 |
commit | a91998d8affc0405bafeade583204f66db81e252 (patch) | |
tree | ded44f19fe23e158cc1953db416817d91e2913f1 /drivers/ddr/fsl/options.c | |
parent | 0f58f033d410e91466723bb288d555c710de49fc (diff) |
mmc: fsl_esdhc_spl: pre-PBL: fix determining U-Boot size
In pre-PBL header is stored size of code which BootROM copies from SD card
to L2/SRAM. This size has upper limit of L2 cache size. In most cases this
is size of U-Boot SPL or size of L2 cache.
Therefore this size in pre-PBL header cannot be used for determining size
of proper U-Boot.
So always use CONFIG_SYS_MMC_U_BOOT_SIZE for determining size of proper
U-Boot which stored on SD card.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/ddr/fsl/options.c')
0 files changed, 0 insertions, 0 deletions