blob: 14859894e6d1f1b0e02af61defa5c6640257c4cb [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.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#include <memlayout.h>
21
22#include <arch/header.ld>
23
24/*
25 * Memory map for qemu vexpress-a9:
26 *
27 * 0x0000_0000: jump instruction (by qemu)
28 * 0x0001_0000: bootblock (entry of kernel / firmware)
29 * 0x0002_0000: romstage, assume up to 128KB in size.
30 * 0x0007_ff00: stack pointer
31 * 0x0010_0000: CBFS header
32 * 0x0011_0000: CBFS data
33 * 0x0100_0000: reserved for ramstage
34 * 0x1000_0000: I/O map address
35 */
36
37SECTIONS
38{
39 /* TODO: does this thing emulate SRAM? */
40
41 BOOTBLOCK(0x10000, 64K)
42 ROMSTAGE(0x20000, 128K)
43 STACK(0x000FC000, 16K)
44
45 DRAM_START(0x01000000)
46 RAMSTAGE(0x01000000, 16M)
47}