blob: f69a31595af7d68f8ce1c606a3b80c515a5b53a5 [file] [log] [blame]
Julius Wernerec5e5e02014-08-20 15:29:56 -07001/*
2 * This file is part of the coreboot project.
3 *
Julius Wernerec5e5e02014-08-20 15:29:56 -07004 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
Julius Wernerec5e5e02014-08-20 15:29:56 -070012 */
13
14#include <memlayout.h>
15
16#include <arch/header.ld>
17
18SECTIONS
19{
20 DRAM_START(0x40000000)
21 BOOTBLOCK(0x402f0400, 20K)
Julius Werner8245bd22019-12-04 20:32:15 -080022 ROMSTAGE(0x402f5400, 88K)
23 FMAP_CACHE(0x4030b400, 2K)
Julius Wernerec5e5e02014-08-20 15:29:56 -070024 STACK(0x4030be00, 4K)
25 RAMSTAGE(0x80200000, 192K)
26
Julius Wernerc01a9ab2018-04-27 15:19:51 -070027 /* TODO: Implement MMU support and move TTB to a better location. */
28 TTB(0x81000000, 16K)
29
Julius Wernerec5e5e02014-08-20 15:29:56 -070030#ifdef OMAP_HEADER
31 .header : {
32 *(.header);
33 } : to_load
34
35 /DISCARD/ : {
36 *(*)
37 }
38#endif
39}