1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #include <boot_device.h>
4 #include <mainboard/addressmap.h>
6 static const struct mem_region_device boot_dev
=
7 MEM_REGION_DEV_RO_INIT(QEMU_VIRT_FLASH
, CONFIG_ROM_SIZE
);
9 const struct region_device
*boot_device_ro(void)
11 return &boot_dev
.rdev
;