Thaminda Edirisooriya | 8fad21d | 2015-07-29 17:43:20 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2014 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Thaminda Edirisooriya | 8fad21d | 2015-07-29 17:43:20 -0700 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #include <memlayout.h> |
| 17 | |
| 18 | #include <arch/header.ld> |
| 19 | |
Jonathan Neuschäfer | 7105660 | 2016-06-10 19:35:16 +0200 | [diff] [blame^] | 20 | #define START 0x80000000 |
| 21 | |
Thaminda Edirisooriya | 8fad21d | 2015-07-29 17:43:20 -0700 | [diff] [blame] | 22 | SECTIONS |
| 23 | { |
Jonathan Neuschäfer | 7105660 | 2016-06-10 19:35:16 +0200 | [diff] [blame^] | 24 | DRAM_START(START) |
| 25 | BOOTBLOCK(START, 64K) |
| 26 | STACK(START + 8M, 64K) |
| 27 | ROMSTAGE(START + 8M + 64K, 128K) |
| 28 | PRERAM_CBMEM_CONSOLE(START + 8M + 192k, 8K) |
| 29 | RAMSTAGE(START + 8M + 200K, 256K) |
Thaminda Edirisooriya | 8fad21d | 2015-07-29 17:43:20 -0700 | [diff] [blame] | 30 | } |