Angel Pons | f23ae0b | 2020-04-02 23:48:12 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 2 | |
| 3 | #include <memlayout.h> |
| 4 | |
| 5 | #include <arch/header.ld> |
| 6 | |
| 7 | SECTIONS |
| 8 | { |
| 9 | DRAM_START(0x40000000) |
| 10 | BOOTBLOCK(0x402f0400, 20K) |
Julius Werner | 8245bd2 | 2019-12-04 20:32:15 -0800 | [diff] [blame] | 11 | ROMSTAGE(0x402f5400, 88K) |
| 12 | FMAP_CACHE(0x4030b400, 2K) |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 13 | STACK(0x4030be00, 4K) |
| 14 | RAMSTAGE(0x80200000, 192K) |
| 15 | |
Julius Werner | c01a9ab | 2018-04-27 15:19:51 -0700 | [diff] [blame] | 16 | /* TODO: Implement MMU support and move TTB to a better location. */ |
| 17 | TTB(0x81000000, 16K) |
| 18 | |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 19 | #ifdef OMAP_HEADER |
| 20 | .header : { |
| 21 | *(.header); |
| 22 | } : to_load |
| 23 | |
| 24 | /DISCARD/ : { |
| 25 | *(*) |
| 26 | } |
| 27 | #endif |
| 28 | } |