mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Correct SPL use of RESV_RAM
This converts 1 usage of this option to the non-SPL form, since there is no SPL_RESV_RAM defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -211,7 +211,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
||||
base[i] = gd->bd->bi_dram[i].start;
|
||||
size[i] = gd->bd->bi_dram[i].size;
|
||||
/* reduce size if reserved memory is within this bank */
|
||||
if (CONFIG_IS_ENABLED(RESV_RAM) && RESV_MEM_IN_BANK(i))
|
||||
if (IS_ENABLED(CONFIG_RESV_RAM) && RESV_MEM_IN_BANK(i))
|
||||
size[i] = gd->arch.resv_ram - base[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user