mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
fix(versal): use correct macro name for ocm base address
In absence of definition, PLAT_OCM_BASE is always 0 and IS_TFA_IN_OCM(x) always returns true irrespective of address passed to it. Reasoning is as mentioned in Refer section 4.2.3 in https://gcc.gnu.org/onlinedocs/gcc-3.0.2/cpp_4.html Due to this,functionality for reservation of TF-A DDR memory in dtb is never executed. Signed-off-by: Amit Nagal <amit.nagal@amd.com> Change-Id: Iafb6b7c6aec29bba22f8f7a8395f9caf97548157
This commit is contained in:
parent
6a62ddff78
commit
56afab73a8
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
|||
|
||||
#define XILINX_OF_BOARD_DTB_MAX_SIZE U(0x200000)
|
||||
|
||||
#define PLAT_OCM_BSE U(0xFFFE0000)
|
||||
#define PLAT_OCM_BASE U(0xFFFE0000)
|
||||
#define PLAT_OCM_LIMIT U(0xFFFFFFFF)
|
||||
|
||||
#define IS_TFA_IN_OCM(x) ((x >= PLAT_OCM_BASE) && (x < PLAT_OCM_LIMIT))
|
||||
|
|
Loading…
Add table
Reference in a new issue