Searched hist:"8 ce2fbffe37ddcab5071601f1b311ee82a56b7cc" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/zynqmp/include/ |
| H A D | platform_def.h | 8ce2fbffe37ddcab5071601f1b311ee82a56b7cc Thu May 18 09:05:43 UTC 2023 Ilias Apalodimas <ilias.apalodimas@linaro.org> fix(zynqmp): 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
Commit 9b4ed0af02a8 ("feat(plat/zynqmp): fix section `coherent_ram' will not fit in region `RAM'") applied a similar fix, but only in the predefined for BL31LIMIT/BASE.
While at it fix all other occurences of predefined values that were calculated with -1
Fixes: 01555332faa48 ("zynqmp: Revise memory configuration options") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Change-Id: Ic96e36808d01f6bb92e6839cec92fc52320dd3f3
|