| 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 |
*/ |
| 15 |
SECTIONS |
| 16 |
{ |
| 17 |
REGION(flash, 0x00000000, CONFIG_ROM_SIZE, 8) |
| 18 |
|
| 19 |
BL31(0xe000000, 0x1000000) |
| 20 |
DRAM_START(0x40000000) |
| 21 |
REGION(fdt, 0x40000000, 1M, 8) |
| 22 |
BOOTBLOCK(0x60010000, 64K) |
| 23 |
STACK(0x60020000, 54K) |
| 24 |
CBFS_MCACHE(0x6002D800, 8K) |
| 25 |
FMAP_CACHE(0x6002F800, 2K) |
| 26 |
TIMESTAMP(0x60030000, 1K) |
| 27 |
ROMSTAGE(0x60031000, 128K) |
| 28 |
TTB(0x60070000, 128K) |
| 29 |
RAMSTAGE(0x600b0000, 16M) |
| 30 |
|
| 31 |
POSTRAM_CBFS_CACHE(0x61200000, 1M) |
| 32 |
} |