summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/arch/arm64/libpayload.ldscript2
-rw-r--r--payloads/libpayload/arch/arm64/mmu.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/payloads/libpayload/arch/arm64/libpayload.ldscript b/payloads/libpayload/arch/arm64/libpayload.ldscript
index c9881f7ec0..4042e45055 100644
--- a/payloads/libpayload/arch/arm64/libpayload.ldscript
+++ b/payloads/libpayload/arch/arm64/libpayload.ldscript
@@ -62,8 +62,6 @@ SECTIONS
}
.bss : {
- *(.ttb_buffer)
-
_bss = .;
*(.sbss)
*(.sbss.*)
diff --git a/payloads/libpayload/arch/arm64/mmu.c b/payloads/libpayload/arch/arm64/mmu.c
index 5865b1b9ef..9fc227dc8b 100644
--- a/payloads/libpayload/arch/arm64/mmu.c
+++ b/payloads/libpayload/arch/arm64/mmu.c
@@ -41,8 +41,11 @@ static unsigned int max_tables;
static uint64_t *xlat_addr;
static int free_idx;
-static uint8_t ttb_buffer[TTB_DEFAULT_SIZE] __aligned(GRANULE_SIZE)
- __attribute__((__section__(".ttb_buffer")));
+
+/* We refer to this in the linker script for ChormeOS's depthcharge payload
+ * and to please not change the name without discussing with us.
+ * Please contact: jwerner@chromium.org or yich@chromium.org */
+static uint8_t ttb_buffer[TTB_DEFAULT_SIZE] __aligned(GRANULE_SIZE);
static const char * const tag_to_string[] = {
[TYPE_NORMAL_MEM] = "normal",