blob: 8596723796fc4c6e8e2a8680bec3059c7df4ed21 [file] [log] [blame]
Thaminda Edirisooriya8fad21d2015-07-29 17:43:20 -07001/*
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 Edirisooriya8fad21d2015-07-29 17:43:20 -070014 */
15
16#include <memlayout.h>
17
18#include <arch/header.ld>
19
Jonathan Neuschäfer71056602016-06-10 19:35:16 +020020#define START 0x80000000
21
Thaminda Edirisooriya8fad21d2015-07-29 17:43:20 -070022SECTIONS
23{
Jonathan Neuschäfer71056602016-06-10 19:35:16 +020024 DRAM_START(START)
25 BOOTBLOCK(START, 64K)
Ronald G. Minnich5965cba2016-10-19 08:07:13 -070026 STACK(START + 8M, 4K)
27 PAGETABLES(START + 8M + 4K, 60K)
Jonathan Neuschäfer71056602016-06-10 19:35:16 +020028 ROMSTAGE(START + 8M + 64K, 128K)
29 PRERAM_CBMEM_CONSOLE(START + 8M + 192k, 8K)
30 RAMSTAGE(START + 8M + 200K, 256K)
Thaminda Edirisooriya8fad21d2015-07-29 17:43:20 -070031}