mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(zynqmp): fix prepare_dtb() memory description
The commit 8ce2fbffe3
("fix(zynqmp): fix BLXX memory limits for user
defined values") fixed logic around BL31_LIMIT but didn't update
prepare_dtb() which is also using +1 logic.
Change-Id: Ia6de10d992a552ca9cfa39c14261b0f94cda95ec
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
This commit is contained in:
parent
9b5c0fcdba
commit
3efee73d52
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ static void prepare_dtb(void)
|
|||
|
||||
/* Reserve memory used by Trusted Firmware. */
|
||||
if (fdt_add_reserved_memory(dtb, "tf-a", BL31_BASE,
|
||||
BL31_LIMIT - BL31_BASE + 1)) {
|
||||
(size_t) (BL31_LIMIT - BL31_BASE))) {
|
||||
WARN("Failed to add reserved memory nodes for BL31 to DT.\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue