blob: 8d1e8d68a68a8196df403a92a3c045b1a463f983 [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
Sam Lewisc25d54b2020-08-19 21:14:40 +100016 PRERAM_CBFS_CACHE(0x402F8000+16K+40K, 20K)
17
Julius Wernerec5e5e02014-08-20 15:29:56 -070018 STACK(0x4030be00, 4K)
Sam Lewis266c1362020-08-03 20:50:49 +100019 SRAM_END(0x40310000)
Sam Lewis266c1362020-08-03 20:50:49 +100020
Sam Lewisc25d54b2020-08-19 21:14:40 +100021 DRAM_START(0x80000000)
22 RAMSTAGE(0x80000000, 2M)
23 POSTRAM_CBFS_CACHE(0x80200000, 32M)
Julius Wernerec5e5e02014-08-20 15:29:56 -070024
25#ifdef OMAP_HEADER
26 .header : {
27 *(.header);
28 } : to_load
29
30 /DISCARD/ : {
31 *(*)
32 }
33#endif
34}