1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #include <boot_device.h> 4 5 /* Maps directly to NOR flash up to ROM size. */ 6 static const struct mem_region_device boot_dev = 7 MEM_REGION_DEV_RO_INIT((void *)0x10000000, CONFIG_ROM_SIZE); 8 boot_device_ro(void)9const struct region_device *boot_device_ro(void) 10 { 11 return &boot_dev.rdev; 12 } 13