summaryrefslogtreecommitdiff
path: root/bl1/bl1.ld.S
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2014-02-17 17:26:51 +0000
committerDan Handley <dan.handley@arm.com>2014-02-17 18:51:44 +0000
commit74cbb839838d770064f0c83010609a134b22f2f8 (patch)
treefab493fc7e626ae595ccf18a538b7bb3975bf227 /bl1/bl1.ld.S
parentd265bd7c3156178cd3c519ce923b491e3f188790 (diff)
Move translation tables into separate section
This patch moves the translation tables into their own section. This saves space that would otherwise have been lost in padding due to page table alignment constraints. The BL31 and BL32 bases have been consequently adjusted. Change-Id: Ibd65ae8a5ce4c4ea9a71a794c95bbff40dc63e65
Diffstat (limited to 'bl1/bl1.ld.S')
-rw-r--r--bl1/bl1.ld.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/bl1/bl1.ld.S b/bl1/bl1.ld.S
index 48828e8f..969b8c27 100644
--- a/bl1/bl1.ld.S
+++ b/bl1/bl1.ld.S
@@ -77,6 +77,15 @@ SECTIONS
} >RAM
/*
+ * The .xlat_table section is for full, aligned page tables (4K).
+ * Removing them from .bss avoids forcing 4K alignment on
+ * the .bss section and eliminates the unecessary zero init
+ */
+ xlat_table (NOLOAD) : {
+ *(xlat_table)
+ } >RAM
+
+ /*
* The base address of the coherent memory section must be page-aligned (4K)
* to guarantee that the coherent data are stored on their own pages and
* are not mixed with normal data. This is required to set up the correct