diff options
author | Aditya Angadi <aditya.angadi@arm.com> | 2020-04-08 14:17:08 +0530 |
---|---|---|
committer | Aditya Angadi <aditya.angadi@arm.com> | 2020-04-14 15:35:27 +0530 |
commit | def3b54b74140e00e66e409bcb798c0e1902b4cc (patch) | |
tree | 1e12b4f2fb74f21b5286200f5d87393bce9259f2 | |
parent | 1a63443c08f5ee2a3cd1015741c76875bf705964 (diff) | |
download | trusted-firmware-a-def3b54b74140e00e66e409bcb798c0e1902b4cc.tar.gz |
plat/arm/sgi: update mmap and xlat count
A single chip platform requires five mmap entries and a corresponding
number of translation tables. For every additional chip in the system,
three additional mmap entries are required to map the shared SRAM and
the IO regions. A corresponding number of additional translation
tables are required as well.
Change-Id: I1332a1305f2af62181387cf36954f6fb0e6f11ed
Signed-off-by: Aditya Angadi <aditya.angadi@arm.com>
-rw-r--r-- | plat/arm/css/sgi/include/sgi_base_platform_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/arm/css/sgi/include/sgi_base_platform_def.h b/plat/arm/css/sgi/include/sgi_base_platform_def.h index 3b8d565854..14cdb7e761 100644 --- a/plat/arm/css/sgi/include/sgi_base_platform_def.h +++ b/plat/arm/css/sgi/include/sgi_base_platform_def.h @@ -38,8 +38,8 @@ # define PLAT_SP_IMAGE_MMAP_REGIONS 7 # define PLAT_SP_IMAGE_MAX_XLAT_TABLES 10 # else -# define PLAT_ARM_MMAP_ENTRIES 8 -# define MAX_XLAT_TABLES 8 +# define PLAT_ARM_MMAP_ENTRIES (5 + ((CSS_SGI_CHIP_COUNT - 1) * 3)) +# define MAX_XLAT_TABLES (5 + ((CSS_SGI_CHIP_COUNT - 1) * 3)) # endif #elif defined(IMAGE_BL32) # define PLAT_ARM_MMAP_ENTRIES 8 |