summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5250/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5250/spi.c')
-rw-r--r--src/soc/samsung/exynos5250/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/samsung/exynos5250/spi.c b/src/soc/samsung/exynos5250/spi.c
index 9406abb302..ae67407c6d 100644
--- a/src/soc/samsung/exynos5250/spi.c
+++ b/src/soc/samsung/exynos5250/spi.c
@@ -179,7 +179,7 @@ void exynos_init_spi_boot_device(void)
{
boot_slave_regs = (void *)EXYNOS5_SPI1_BASE;
- mmap_helper_device_init(&mdev, _cbfs_cache, _cbfs_cache_size);
+ mmap_helper_device_init(&mdev, _cbfs_cache, REGION_SIZE(cbfs_cache));
}
const struct region_device *exynos_spi_boot_device(void)