Debian Codegraph @

src/mainboard/arm/rdn2/media.c

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