Tegra: Support for scatterfile for the BL31 image
authorVarun Wadekar <vwadekar@nvidia.com>
Fri, 11 Jan 2019 22:47:48 +0000 (14:47 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 27 Feb 2019 16:33:35 +0000 (08:33 -0800)
commitc2ad38ce4fe754c750f3db480f732ac280f508e4
tree7e8ee58a109c58a3f913e7c5ca0683706e19d2d3
parentab3d22473df279c61ed4d4873d26b072dcf887e8
Tegra: Support for scatterfile for the BL31 image

This patch provides support for using the scatterfile format as
the linker script with the 'armlink' linker for Tegra platforms.

In order to enable the scatterfile usage the following changes
have been made:

* provide mapping for ld.S symbols in bl_common.h
* include bl_common.h from all the affected files
* update the makefile rules to use the scatterfile and armlink
  to compile BL31
* update pubsub.h to add sections to the scatterfile

NOTE: THIS CHANGE HAS BEEN VERIFIED WITH TEGRA PLATFORMS ONLY.

Change-Id: I7bb78b991c97d74a842e5635c74cb0b18e0fce67
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Makefile
docs/plat/nvidia-tegra.rst
docs/user-guide.rst
include/common/bl_common.h
include/lib/el3_runtime/pubsub.h
lib/cpus/aarch32/cpu_helpers.S
lib/cpus/aarch64/cpu_helpers.S
make_helpers/build_macros.mk
plat/nvidia/tegra/platform.mk
plat/nvidia/tegra/scat/bl31.scat [new file with mode: 0644]