• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <memlayout.h>
4#include <arch/header.ld>
5
6/*
7 * Memory map for QEMU virt machine since
8 * a578cdfbdd8f9beff5ced52b7826ddb1669abbbf (June 2019):
9 *
10 * 0..128MiB (0x0000_0000..0x0080_0000) is the space for a flash device.
11 * 128MiB..256MiB (0x0080_0000..0x0100_0000) is used for miscellaneous device I/O.
12 * 256MiB..1GiB (0x0100_0000..0x4000_0000) is reserved for possible future PCI support.
13 * 1GiB.. (0x4000_0000) is RAM and the size depends on initial RAM and device memory settings.
14 */
15SECTIONS
16{
17	REGION(flash, 0x00000000, CONFIG_ROM_SIZE, 8)
18
19	BL31(0xe000000, 0x1000000)
20	DRAM_START(0x40000000)
21	BOOTBLOCK(0x60010000, 64K)
22	STACK(0x60020000, 54K)
23	CBFS_MCACHE(0x6002D800, 8K)
24	FMAP_CACHE(0x6002F800, 2K)
25        TIMESTAMP(0x60030000, 1K)
26	ROMSTAGE(0x60031000, 128K)
27	TTB(0x60070000, 128K)
28	RAMSTAGE(0x600b0000, 16M)
29
30	POSTRAM_CBFS_CACHE(0x61200000, 1M)
31}
32