summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-07-16 15:12:21 +0100
committerSoby Mathew <soby.mathew@arm.com>2014-08-11 14:45:08 +0100
commit27905d0a10ceceeb9a98cfdaee3ceef69bf7b52c (patch)
tree385dcfe71c146aa0039e0d0040d97b21a5315d59 /docs
parentc1efc4c0666b95912b54e079de484d8c2249e045 (diff)
Add compilation macro for each BL stage
This patch defines a compile time macro for each boot loader stage which allows compilation of code only for a specific stage. Change-Id: I3a4068404cd3dc26d652556ca9ca7afea8dd28ef
Diffstat (limited to 'docs')
-rw-r--r--docs/firmware-design.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/firmware-design.md b/docs/firmware-design.md
index 3203a52..23cae19 100644
--- a/docs/firmware-design.md
+++ b/docs/firmware-design.md
@@ -1226,6 +1226,11 @@ categories. Based upon the above, the code layout looks like this:
lib Yes Yes Yes
services No No Yes
+The build system provides a non configurable build option IMAGE_BLx for each
+boot loader stage (where x = BL stage). e.g. for BL1 , IMAGE_BL1 will be
+defined by the build system. This enables the Trusted Firmware to compile
+certain code only for specific boot loader stages
+
All assembler files have the `.S` extension. The linker source files for each
boot stage have the extension `.ld.S`. These are processed by GCC to create the
linker scripts which have the extension `.ld`.