Emphasize that TF only supports 4 KB granule size
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Thu, 20 Jul 2017 15:11:01 +0000 (16:11 +0100)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Wed, 26 Jul 2017 08:28:23 +0000 (09:28 +0100)
commitde3d704d74018b7104afad5a9b4cb19bc5de0611
treeebce1cb74eeeda4eed63ce6ba77f690c48c29a11
parent0044231d434997428b2a2de0088433779a2555bf
Emphasize that TF only supports 4 KB granule size

At the moment, various parts of the Trusted Firmware code assume
that the granule size used is 4 KB. For example, the linker scripts
enforce 4 KB alignment restrictions on some sections.

However, the ARMv8-A architecture allows 16 KB and 64 KB granule
sizes as well. Some other parts of the TF code, particularly the
architectural code and definitions, have been implemented with
this in mind and cater for all 3 cases.

This discrepancy creates some confusion as to what is effectively
supported in TF. This patch adds some code comments and clarification
in the documentation to make this limitation clearer.

Change-Id: I1f202369b240d8bed9d43d57ecd2a548c86c8598
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
docs/porting-guide.rst
include/lib/xlat_tables/xlat_tables_defs.h