Commit e0cea783 authored by Manish V Badarkhe's avatar Manish V Badarkhe
Browse files

plat/arm: fvp: Do not map GIC region in BL1 and BL2



GIC memory region is not getting used in BL1 and BL2.
Hence avoid its mapping in BL1 and BL2 that freed some
page table entries to map other memory regions in the
future.

Retains mapping of CCN interconnect region in BL1 and BL2
overlapped with the GIC memory region.

Change-Id: I880dd0690f94b140e59e4ff0c0d436961b9cb0a7
Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
parent 8098d544
/* /*
* Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -70,7 +70,9 @@ const mmap_region_t plat_arm_mmap[] = { ...@@ -70,7 +70,9 @@ const mmap_region_t plat_arm_mmap[] = {
V2M_MAP_FLASH0_RW, V2M_MAP_FLASH0_RW,
V2M_MAP_IOFPGA, V2M_MAP_IOFPGA,
MAP_DEVICE0, MAP_DEVICE0,
#if FVP_INTERCONNECT_DRIVER == FVP_CCN
MAP_DEVICE1, MAP_DEVICE1,
#endif
#if TRUSTED_BOARD_BOOT #if TRUSTED_BOARD_BOOT
/* To access the Root of Trust Public Key registers. */ /* To access the Root of Trust Public Key registers. */
MAP_DEVICE2, MAP_DEVICE2,
...@@ -86,7 +88,9 @@ const mmap_region_t plat_arm_mmap[] = { ...@@ -86,7 +88,9 @@ const mmap_region_t plat_arm_mmap[] = {
V2M_MAP_FLASH0_RW, V2M_MAP_FLASH0_RW,
V2M_MAP_IOFPGA, V2M_MAP_IOFPGA,
MAP_DEVICE0, MAP_DEVICE0,
#if FVP_INTERCONNECT_DRIVER == FVP_CCN
MAP_DEVICE1, MAP_DEVICE1,
#endif
ARM_MAP_NS_DRAM1, ARM_MAP_NS_DRAM1,
#ifdef __aarch64__ #ifdef __aarch64__
ARM_MAP_DRAM2, ARM_MAP_DRAM2,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment