blob: 042febe7e53e76f7574e7a806eb0fe2b360db6a7 [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)
Julius Wernerbaf27db2019-10-02 17:28:56 -070012 CBFS_MCACHE(0x402f0400+20K+2K, 8K)
Sam Lewisb5353962020-08-03 21:14:26 +100013 TTB(0x402F8000, 16K)
14 ROMSTAGE(0x402F8000+16K, 40K)
15
Julius Wernerec5e5e02014-08-20 15:29:56 -070016 STACK(0x4030be00, 4K)
Sam Lewis266c1362020-08-03 20:50:49 +100017 SRAM_END(0x40310000)
18 DRAM_START(0x80000000)
19
Julius Wernerec5e5e02014-08-20 15:29:56 -070020 RAMSTAGE(0x80200000, 192K)
21
22#ifdef OMAP_HEADER
23 .header : {
24 *(.header);
25 } : to_load
26
27 /DISCARD/ : {
28 *(*)
29 }
30#endif
31}