blob: 032fbddecfc8e48d32d37c15aea09ff7cc4c8cb5 [file] [log] [blame]
Julius Wernerec5e5e02014-08-20 15:29:56 -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.
Julius Wernerec5e5e02014-08-20 15:29:56 -070014 */
15
16#include <memlayout.h>
Julius Wernerec5e5e02014-08-20 15:29:56 -070017#include <arch/header.ld>
18
Philipp Hug2ef569a2018-12-31 14:13:47 +010019#define START 0x80000000
20
Julius Wernerec5e5e02014-08-20 15:29:56 -070021SECTIONS
22{
Philipp Hug2ef569a2018-12-31 14:13:47 +010023 DRAM_START(START)
24 BOOTBLOCK(START, 64K)
25 STACK(START + 4M, 4K)
26 ROMSTAGE(START + 4M + 64K, 128K)
27 PRERAM_CBMEM_CONSOLE(START + 4M + 192K, 8K)
28 RAMSTAGE(START + 4M + 200K, 16M)
Julius Wernerec5e5e02014-08-20 15:29:56 -070029}