summaryrefslogtreecommitdiff
path: root/src/arch/x86/mmap_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/mmap_boot.c')
-rw-r--r--src/arch/x86/mmap_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/mmap_boot.c b/src/arch/x86/mmap_boot.c
index ae35451b3c..35a7544c30 100644
--- a/src/arch/x86/mmap_boot.c
+++ b/src/arch/x86/mmap_boot.c
@@ -22,7 +22,7 @@
#define rom_base ((void *)(uintptr_t)(0x100000000ULL-CONFIG_ROM_SIZE))
static const struct mem_region_device boot_dev =
- MEM_REGION_DEV_INIT(rom_base, CONFIG_ROM_SIZE);
+ MEM_REGION_DEV_RO_INIT(rom_base, CONFIG_ROM_SIZE);
const struct region_device *boot_device_ro(void)
{