| 1 |
|
| 2 |
|
| 3 |
#include <arch/io.h> |
| 4 |
#include <boot_device.h> |
| 5 |
|
| 6 |
static const struct mem_region_device boot_dev = |
| 7 |
MEM_REGION_DEV_RO_INIT(FLASH_BASE_ADDR, CONFIG_ROM_SIZE); |
| 8 |
|
| 9 |
const struct region_device *boot_device_ro(void) |
| 10 |
{ |
| 11 |
return &boot_dev.rdev; |
| 12 |
} |