Searched hist:f123b91fddfcc882577590bbf4a54e1497ef9a64 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/versal/include/ |
| H A D | platform_def.h | f123b91fddfcc882577590bbf4a54e1497ef9a64 Tue May 23 11:46:48 UTC 2023 Ilias Apalodimas <ilias.apalodimas@linaro.org> fix(versal): fix BLXX memory limits for user defined values
When compiling with user defined areas of memory the platform code calculates the size with (base + size - 1). However, the linker file aligns section on a page boundary. So having the -1 in the size calculations leads to an error message looking like this:
bl31.elf section `coherent_ram' will not fit in region `RAM' aarch64-buildroot-linux-uclibc-ld: region `RAM' overflowed by 1 byte
While at it fix all other occurences of predefined values that were calculated with -1
Fixes: commit f91c3cb1df7d4 ("arm64: versal: Add support for new Xilinx Versal ACAPs") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Change-Id: Ica1f97867b701e7fcd60ea8ea07d2ae96c485443
|