Add common ARM and CSS platform code
This major change pulls out the common functionality from the
FVP and Juno platform ports into the following categories:

*   (include/)plat/common. Common platform porting functionality that
typically may be used by all platforms.

*   (include/)plat/arm/common. Common platform porting functionality
that may be used by all ARM standard platforms. This includes all
ARM development platforms like FVP and Juno but may also include
non-ARM-owned platforms.

*   (include/)plat/arm/board/common. Common platform porting
functionality for ARM development platforms at the board
(off SoC) level.

*   (include/)plat/arm/css/common. Common platform porting
functionality at the ARM Compute SubSystem (CSS) level. Juno
is an example of a CSS-based platform.

*   (include/)plat/arm/soc/common. Common platform porting
functionality at the ARM SoC level, which is not already defined
at the ARM CSS level.

No guarantees are made about the backward compatibility of
functionality provided in (include/)plat/arm.

Also remove any unnecessary variation between the ARM development
platform ports, including:

*   Unify the way BL2 passes `bl31_params_t` to BL3-1. Use the
Juno implementation, which copies the information from BL2 memory
instead of expecting it to persist in shared memory.

*   Unify the TZC configuration. There is no need to add a region
for SCP in Juno; it's enough to simply not allow any access to
this reserved region. Also set region 0 to provide no access by
default instead of assuming this is the case.

*   Unify the number of memory map regions required for ARM
development platforms, although the actual ranges mapped for each
platform may be different. For the FVP port, this reduces the
mapped peripheral address space.

These latter changes will only be observed when the platform ports
are migrated to use the new common platform code in subsequent
patches.

Change-Id: Id9c269dd3dc6e74533d0e5116fdd826d53946dc8
1 parent 90b3a6a commit b4315306ada18bac1c74f34db717d22fd5ff3003
@Dan Handley Dan Handley authored on 19 Mar 2015
Showing 42 changed files
View
include/plat/arm/board/common/board_arm_def.h 0 → 100644
View
include/plat/arm/board/common/board_arm_oid.h 0 → 100644
View
include/plat/arm/board/common/board_css_def.h 0 → 100644
View
include/plat/arm/board/common/v2m_def.h 0 → 100644
View
include/plat/arm/common/aarch64/arm_macros.S 0 → 100644
View
include/plat/arm/common/arm_config.h 0 → 100644
View
include/plat/arm/common/arm_def.h 0 → 100644
View
include/plat/arm/common/plat_arm.h 0 → 100644
View
include/plat/arm/css/common/aarch64/css_macros.S 0 → 100644
View
include/plat/arm/css/common/css_def.h 0 → 100644
View
include/plat/arm/soc/common/soc_css.h 0 → 100644
View
include/plat/arm/soc/common/soc_css_def.h 0 → 100644
View
include/plat/common/common_def.h 0 → 100644
View
plat/arm/board/common/aarch64/board_arm_helpers.S 0 → 100644
View
plat/arm/board/common/board_arm_trusted_boot.c 0 → 100644
View
plat/arm/board/common/board_css.mk 0 → 100644
View
plat/arm/board/common/board_css_common.c 0 → 100644
View
plat/arm/common/aarch64/arm_common.c 0 → 100644
View
plat/arm/common/aarch64/arm_helpers.S 0 → 100644
View
plat/arm/common/arm_bl1_setup.c 0 → 100644
View
plat/arm/common/arm_bl2_setup.c 0 → 100644
View
plat/arm/common/arm_bl31_setup.c 0 → 100644
View
plat/arm/common/arm_common.mk 0 → 100644
View
plat/arm/common/arm_io_storage.c 0 → 100644
View
plat/arm/common/arm_pm.c 0 → 100644
View
plat/arm/common/arm_security.c 0 → 100644
View
plat/arm/common/arm_topology.c 0 → 100644
View
plat/arm/common/tsp/arm_tsp.mk 0 → 100644
View
plat/arm/common/tsp/arm_tsp_setup.c 0 → 100644
View
plat/arm/css/common/aarch64/css_helpers.S 0 → 100644
View
plat/arm/css/common/css_bl2_setup.c 0 → 100644
View
plat/arm/css/common/css_common.c 0 → 100644
View
plat/arm/css/common/css_common.mk 0 → 100644
View
plat/arm/css/common/css_mhu.c 0 → 100644
View
plat/arm/css/common/css_mhu.h 0 → 100644
View
plat/arm/css/common/css_pm.c 0 → 100644
View
plat/arm/css/common/css_scp_bootloader.c 0 → 100644
View
plat/arm/css/common/css_scp_bootloader.h 0 → 100644
View
plat/arm/css/common/css_scpi.c 0 → 100644
View
plat/arm/css/common/css_scpi.h 0 → 100644
View
plat/arm/soc/common/soc_css.mk 0 → 100644
View
plat/arm/soc/common/soc_css_security.c 0 → 100644