Merge "fix(memmap): fix footprint free space calculation" into integration

This commit is contained in:
Sandrine Bailleux 2024-01-12 12:40:00 +01:00 committed by TrustedFirmware Code Review
commit e12b765e28

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2023, Arm Limited. All rights reserved.
# Copyright (c) 2023-2024, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@ -57,7 +57,7 @@ class TfaMapParser:
if "start" and "length" and "end" in memory_layout[region]:
memory_layout[region]["limit"] = (
memory_layout[region]["end"]
memory_layout[region]["start"]
+ memory_layout[region]["length"]
)
memory_layout[region]["free"] = (