mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 23:04:50 +00:00
fix(versal2): update DDR address map
Update DDR address map of BL32, BL33 and transfer list to support AMD Versal Gen 2 platform's new memory map. Change-Id: I757b2f67270034c8a3140e4bb0ac4d7e88b5d055 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
ea7bffdb85
commit
66569a7688
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Arm Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2021-2022, Xilinx, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024, Advanced Micro Devices, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -52,8 +52,8 @@
|
|||
* BL32 specific defines.
|
||||
******************************************************************************/
|
||||
#ifndef BL32_MEM_BASE
|
||||
# define BL32_BASE U(0x60000000)
|
||||
# define BL32_LIMIT U(0x80000000)
|
||||
# define BL32_BASE U(0x01800000)
|
||||
# define BL32_LIMIT U(0x09800000)
|
||||
#else
|
||||
# define BL32_BASE U(BL32_MEM_BASE)
|
||||
# define BL32_LIMIT U(BL32_MEM_BASE + BL32_MEM_SIZE)
|
||||
|
@ -63,7 +63,7 @@
|
|||
* BL33 specific defines.
|
||||
******************************************************************************/
|
||||
#ifndef PRELOADED_BL33_BASE
|
||||
# define PLAT_ARM_NS_IMAGE_BASE U(0x8000000)
|
||||
# define PLAT_ARM_NS_IMAGE_BASE U(0x40000000)
|
||||
#else
|
||||
# define PLAT_ARM_NS_IMAGE_BASE U(PRELOADED_BL33_BASE)
|
||||
#endif
|
||||
|
@ -96,8 +96,8 @@
|
|||
* FIXME: This address should come from firmware before TF-A
|
||||
* Having this to make sure the transfer list functionality works
|
||||
*/
|
||||
#define FW_HANDOFF_BASE U(0x70000000)
|
||||
#define FW_HANDOFF_SIZE U(0x10000)
|
||||
#define FW_HANDOFF_BASE U(0x1000000)
|
||||
#define FW_HANDOFF_SIZE U(0x600000)
|
||||
#endif
|
||||
|
||||
#define IS_TFA_IN_OCM(x) ((x >= PLAT_OCM_BASE) && (x < PLAT_OCM_LIMIT))
|
||||
|
|
Loading…
Add table
Reference in a new issue