blob: 991e4012a4a76ce1e2598025e861c16aea248992 [file] [log] [blame]
Angel Ponsf23ae0b2020-04-02 23:48:12 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Julius Wernerec5e5e02014-08-20 15:29:56 -07002
3#include <memlayout.h>
4
5#include <arch/header.ld>
6
7SECTIONS
8{
Sam Lewis266c1362020-08-03 20:50:49 +10009 SRAM_START(0x402f0400)
Julius Wernerec5e5e02014-08-20 15:29:56 -070010 BOOTBLOCK(0x402f0400, 20K)
Julius Werner8245bd22019-12-04 20:32:15 -080011 ROMSTAGE(0x402f5400, 88K)
12 FMAP_CACHE(0x4030b400, 2K)
Julius Wernerec5e5e02014-08-20 15:29:56 -070013 STACK(0x4030be00, 4K)
Sam Lewis266c1362020-08-03 20:50:49 +100014 SRAM_END(0x40310000)
15 DRAM_START(0x80000000)
16
Julius Wernerec5e5e02014-08-20 15:29:56 -070017 RAMSTAGE(0x80200000, 192K)
18
Julius Wernerc01a9ab2018-04-27 15:19:51 -070019 /* TODO: Implement MMU support and move TTB to a better location. */
20 TTB(0x81000000, 16K)
21
Julius Wernerec5e5e02014-08-20 15:29:56 -070022#ifdef OMAP_HEADER
23 .header : {
24 *(.header);
25 } : to_load
26
27 /DISCARD/ : {
28 *(*)
29 }
30#endif
31}