diff options
Diffstat (limited to 'src/drivers/spi/cbfs_spi.c')
-rw-r--r-- | src/drivers/spi/cbfs_spi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/spi/cbfs_spi.c b/src/drivers/spi/cbfs_spi.c index 7aeec57cf6..ae2994c257 100644 --- a/src/drivers/spi/cbfs_spi.c +++ b/src/drivers/spi/cbfs_spi.c @@ -134,3 +134,9 @@ const struct region_device *boot_device_rw(void) { return boot_device_ro(); } + +const struct spi_flash *boot_device_spi_flash(void) +{ + boot_device_init(); + return spi_flash_info; +} |