summaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5420
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5420')
-rw-r--r--src/soc/samsung/exynos5420/alternate_cbfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/samsung/exynos5420/alternate_cbfs.c b/src/soc/samsung/exynos5420/alternate_cbfs.c
index 0eb8c08604..99f14a13f2 100644
--- a/src/soc/samsung/exynos5420/alternate_cbfs.c
+++ b/src/soc/samsung/exynos5420/alternate_cbfs.c
@@ -100,7 +100,7 @@ static int sdmmc_cbfs_open(void)
}
static struct mem_region_device alternate_rdev =
- MEM_REGION_DEV_RO_INIT(NULL, 0);
+ MEM_REGION_DEV_RO_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache));
const struct region_device *boot_device_ro(void)
{
@@ -121,9 +121,6 @@ const struct region_device *boot_device_ro(void)
void boot_device_init(void)
{
- mem_region_device_ro_init(&alternate_rdev, _cbfs_cache,
- REGION_SIZE(cbfs_cache));
-
if (*iram_secondary_base == SECONDARY_BASE_BOOT_USB) {
printk(BIOS_DEBUG, "Using Exynos alternate boot mode USB A-A\n");
usb_cbfs_open();