blob: 720da26d6fd28a2b2861575fbc76e3e19b8207cc [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)
Sam Lewisb5353962020-08-03 21:14:26 +100011 FMAP_CACHE(0x402f0400+20K, 2K)
12 TTB(0x402F8000, 16K)
13 ROMSTAGE(0x402F8000+16K, 40K)
14
Julius Wernerec5e5e02014-08-20 15:29:56 -070015 STACK(0x4030be00, 4K)
Sam Lewis266c1362020-08-03 20:50:49 +100016 SRAM_END(0x40310000)
17 DRAM_START(0x80000000)
18
Julius Wernerec5e5e02014-08-20 15:29:56 -070019 RAMSTAGE(0x80200000, 192K)
20
21#ifdef OMAP_HEADER
22 .header : {
23 *(.header);
24 } : to_load
25
26 /DISCARD/ : {
27 *(*)
28 }
29#endif
30}