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 | { |
Sam Lewis | 266c136 | 2020-08-03 20:50:49 +1000 | [diff] [blame] | 9 | SRAM_START(0x402f0400) |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 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) |
Sam Lewis | 266c136 | 2020-08-03 20:50:49 +1000 | [diff] [blame] | 14 | SRAM_END(0x40310000) |
| 15 | DRAM_START(0x80000000) |
| 16 | |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 17 | RAMSTAGE(0x80200000, 192K) |
| 18 | |
Julius Werner | c01a9ab | 2018-04-27 15:19:51 -0700 | [diff] [blame] | 19 | /* TODO: Implement MMU support and move TTB to a better location. */ |
| 20 | TTB(0x81000000, 16K) |
| 21 | |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 22 | #ifdef OMAP_HEADER |
| 23 | .header : { |
| 24 | *(.header); |
| 25 | } : to_load |
| 26 | |
| 27 | /DISCARD/ : { |
| 28 | *(*) |
| 29 | } |
| 30 | #endif |
| 31 | } |