1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <arch/header.ld>
5 #include <mainboard/addressmap.h>
9 REGION(flash, QEMU_VIRT_FLASH, CONFIG_ROM_SIZE, 0) \
11 DRAM_START(QEMU_VIRT_DRAM)
12 BOOTBLOCK(QEMU_VIRT_DRAM, 128K)
13 OPENSBI(QEMU_VIRT_DRAM + 128K, 256K)
14 ROMSTAGE(QEMU_VIRT_DRAM + 128K + 256K, 256K)
15 RAMSTAGE(QEMU_VIRT_DRAM + 128K + 256K + 256K, 2M)
16 PRERAM_CBMEM_CONSOLE(QEMU_VIRT_DRAM + 128K + 256K + 256K + 2M, 8K)
17 FMAP_CACHE(QEMU_VIRT_DRAM + 128K + 256K + 256K + 2M + 8K, 2K)
18 CBFS_MCACHE(QEMU_VIRT_DRAM + 128K + 256K + 256K + 2M + 8K + 2K, 10K)
19 STACK(QEMU_VIRT_DRAM + 128K + 256K + 256K + 2M + 8K + 2K + 10K, 4M)