blob: 78528e63b79d915c937fd1e61825da9282e643c1 [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{
9 DRAM_START(0x40000000)
10 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)
14 RAMSTAGE(0x80200000, 192K)
15
Julius Wernerc01a9ab2018-04-27 15:19:51 -070016 /* TODO: Implement MMU support and move TTB to a better location. */
17 TTB(0x81000000, 16K)
18
Julius Wernerec5e5e02014-08-20 15:29:56 -070019#ifdef OMAP_HEADER
20 .header : {
21 *(.header);
22 } : to_load
23
24 /DISCARD/ : {
25 *(*)
26 }
27#endif
28}