aboutsummaryrefslogtreecommitdiff
path: root/src/soc/ti/am335x/memlayout.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/ti/am335x/memlayout.ld')
-rw-r--r--src/soc/ti/am335x/memlayout.ld28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/soc/ti/am335x/memlayout.ld b/src/soc/ti/am335x/memlayout.ld
new file mode 100644
index 0000000000..78528e63b7
--- /dev/null
+++ b/src/soc/ti/am335x/memlayout.ld
@@ -0,0 +1,28 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <memlayout.h>
+
+#include <arch/header.ld>
+
+SECTIONS
+{
+ DRAM_START(0x40000000)
+ BOOTBLOCK(0x402f0400, 20K)
+ ROMSTAGE(0x402f5400, 88K)
+ FMAP_CACHE(0x4030b400, 2K)
+ STACK(0x4030be00, 4K)
+ RAMSTAGE(0x80200000, 192K)
+
+ /* TODO: Implement MMU support and move TTB to a better location. */
+ TTB(0x81000000, 16K)
+
+#ifdef OMAP_HEADER
+ .header : {
+ *(.header);
+ } : to_load
+
+ /DISCARD/ : {
+ *(*)
+ }
+#endif
+}