ARM platforms: Map TSP only when TSPD is included
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Wed, 30 Aug 2017 09:59:22 +0000 (10:59 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 31 Aug 2017 15:18:00 +0000 (16:18 +0100)
commit3eb2d672fcd2d86ba56359760d2eb0df758a6843
tree8bd145f9e88f58443d5edae272c2005af938cf0d
parentd818a02cb489eae1f99cabf949d47e56347e4537
ARM platforms: Map TSP only when TSPD is included

This patch ensures that the ARM_MAP_TSP_SEC_MEM memory region is mapped
in BL2 only if the TSPD has been included in the build. This saves one
entry in the plat_arm_mmap[] array and avoids to map extra memory when
it's not needed.

Change-Id: I6ae60822ff8f0de198145925b0b0d45355179a94
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
include/plat/arm/common/arm_def.h
plat/arm/board/common/board_css_common.c
plat/arm/board/fvp/fvp_common.c