diff options
Diffstat (limited to 'src/arch/riscv')
-rw-r--r-- | src/arch/riscv/rom_media.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/rom_media.c b/src/arch/riscv/rom_media.c index 0c54e7abfd..c1713074f9 100644 --- a/src/arch/riscv/rom_media.c +++ b/src/arch/riscv/rom_media.c @@ -18,7 +18,7 @@ /* This assumes that the CBFS resides at 0x0, which is true for the default * configuration. */ static const struct mem_region_device boot_dev = - MEM_REGION_DEV_INIT(NULL, CONFIG_ROM_SIZE); + MEM_REGION_DEV_RO_INIT(NULL, CONFIG_ROM_SIZE); const struct region_device *boot_device_ro(void) { |