mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(layerscape): fix build issue of mmap_add_ddr_region_dynamically
Fix build issue of mmap_add_ddr_region_dynamically(): ls_bl2_el3_setup.c:(.text.bl2_plat_preload_setup+0x28): undefined reference to mmap_add_ddr_region_dynamically Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I74a8b4c2337fc0646d6acb16ce61755c5efbdf38
This commit is contained in:
parent
31af441a04
commit
e2818d0afc
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2018-2020 NXP
|
||||
* Copyright 2018-2022 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*
|
||||
|
@ -289,8 +289,9 @@ void bl2_plat_preload_setup(void)
|
|||
if ((dram_regions_info.region[0].addr == 0)
|
||||
&& (dram_regions_info.total_dram_size > 0)) {
|
||||
populate_dram_regions_info();
|
||||
|
||||
#ifdef PLAT_XLAT_TABLES_DYNAMIC
|
||||
mmap_add_ddr_region_dynamically();
|
||||
#endif
|
||||
}
|
||||
|
||||
/* setup the memory region access permissions */
|
||||
|
|
Loading…
Add table
Reference in a new issue