Populate BL31 input parameters as per new spec
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Tue, 15 Apr 2014 17:08:08 +0000 (18:08 +0100)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Thu, 22 May 2014 15:14:19 +0000 (16:14 +0100)
commit4112bfa0c223eda73af1cfe57ca7dc926f767dd8
tree652b5cb01c095a39c771209caac10b6332a62929
parent29fb905d5f36a415a170a4bffeadf13b5f084345
Populate BL31 input parameters as per new spec

This patch is based on spec published at
https://github.com/ARM-software/tf-issues/issues/133

It rearranges the bl31_args struct into
bl31_params and bl31_plat_params which provide the
information needed for Trusted firmware and platform
specific data via x0 and x1

On the FVP platform BL3-1 params and BL3-1 plat params
and its constituents are stored at the start of TZDRAM.

The information about memory availability and size for
BL3-1, BL3-2 and BL3-3 is moved into platform specific data.

Change-Id: I8b32057a3d0dd3968ea26c2541a0714177820da9
14 files changed:
bl1/aarch64/bl1_exceptions.S
bl1/bl1_main.c
bl2/bl2_main.c
bl31/aarch64/bl31_entrypoint.S
bl31/bl31_main.c
common/bl_common.c
include/bl2/bl2.h
include/bl31/bl31.h
include/common/bl_common.h
plat/fvp/bl1_plat_setup.c
plat/fvp/bl2_plat_setup.c
plat/fvp/bl31_plat_setup.c
plat/fvp/platform.h
services/spd/tspd/tspd_main.c