aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3328/include/plat.ld.S
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2017-11-09 21:59:15 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-11-09 21:59:15 +0000
commit377cb66540e9f5f26b97c779a411a302eeaf45a9 (patch)
tree068e57596704dce1bc7fd97a07b205a2e2f22d42 /plat/rockchip/rk3328/include/plat.ld.S
parentb52ceb2c86de78504cadaf718a0b0faef1875b7e (diff)
parentf80b69635a11abe97224cdd5699b7b11bf3293f5 (diff)
downloadarm-trusted-firmware-377cb66540e9f5f26b97c779a411a302eeaf45a9.tar.gz
Merge remote-tracking branch 'aosp/upstream-hikey' into armtf am: d7f137ecb7 am: 72a61be33b
am: f80b69635a Change-Id: I121dedc746e6db36c8e25fa019aa5f10c3ee22f6
Diffstat (limited to 'plat/rockchip/rk3328/include/plat.ld.S')
-rw-r--r--plat/rockchip/rk3328/include/plat.ld.S37
1 files changed, 37 insertions, 0 deletions
diff --git a/plat/rockchip/rk3328/include/plat.ld.S b/plat/rockchip/rk3328/include/plat.ld.S
new file mode 100644
index 00000000..b3559b20
--- /dev/null
+++ b/plat/rockchip/rk3328/include/plat.ld.S
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+#ifndef __ROCKCHIP_PLAT_LD_S__
+#define __ROCKCHIP_PLAT_LD_S__
+
+MEMORY {
+ PMUSRAM (rwx): ORIGIN = PMUSRAM_BASE, LENGTH = PMUSRAM_RSIZE
+}
+
+SECTIONS
+{
+ . = PMUSRAM_BASE;
+
+ /*
+ * pmu_cpuson_entrypoint request address
+ * align 64K when resume, so put it in the
+ * start of pmusram
+ */
+ .text_pmusram : {
+ ASSERT(. == ALIGN(64 * 1024),
+ ".pmusram.entry request 64K aligned.");
+ *(.pmusram.entry)
+ __bl31_pmusram_text_start = .;
+ *(.pmusram.text)
+ *(.pmusram.rodata)
+ __bl31_pmusram_text_end = .;
+ __bl31_pmusram_data_start = .;
+ *(.pmusram.data)
+ __bl31_pmusram_data_end = .;
+
+ } >PMUSRAM
+}
+
+#endif /* __ROCKCHIP_PLAT_LD_S__ */