Make SCP_BL2(U) image loading configurable on CSS platforms
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Thu, 14 Jan 2016 14:26:27 +0000 (14:26 +0000)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Tue, 16 Feb 2016 10:51:45 +0000 (10:51 +0000)
commit7fb9a32d2ea8c5f5fb07d5c7a2f3f3ef8c92a7d0
treea0deb9478f7f93fc2b19d838f9dbb3a7f0cb7b06
parent8e083ecd66fa93c9c9d488cf4b728f526401054c
Make SCP_BL2(U) image loading configurable on CSS platforms

Current code mandates loading of SCP_BL2/SCP_BL2U images for all
CSS platforms. On future ARM CSS platforms, the Application
Processor (AP) might not need to load these images. So, these
items can be removed from the FIP on those platforms.

BL2 tries to load  SCP_BL2/SCP_BL2U images if their base
addresses are defined causing boot error if the images are not
found in FIP.

This change adds a make flag `CSS_LOAD_SCP_IMAGES` which if set
to `1` does:
1. Adds SCP_BL2, SCP_BL2U images to FIP.
2. Defines the base addresses of these images so that AP loads
   them.

And vice-versa if it is set to `0`. The default value is set to
`1`.

Change-Id: I5abfe22d5dc1e9d80d7809acefc87b42a462204a
docs/user-guide.md
include/plat/arm/css/common/css_def.h
plat/arm/css/common/css_common.mk