aboutsummaryrefslogtreecommitdiffstats
path: root/src/soc/samsung/exynos5420/alternate_cbfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5420/alternate_cbfs.h')
-rw-r--r--src/soc/samsung/exynos5420/alternate_cbfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/samsung/exynos5420/alternate_cbfs.h b/src/soc/samsung/exynos5420/alternate_cbfs.h
index af7751d4e..8122a25e8 100644
--- a/src/soc/samsung/exynos5420/alternate_cbfs.h
+++ b/src/soc/samsung/exynos5420/alternate_cbfs.h
@@ -36,7 +36,7 @@ static u32 * const iram_secondary_base = (u32 *)0x02020018;
#define OM_STAT_SPI 0x14
#define OM_STAT_MASK 0x7f
-#if defined(__BOOT_BLOCK__)
+#if defined(__PRE_RAM__) && !defined(__ROMSTAGE__)
/* A small space in IRAM to hold the romstage-only image */
static void * const alternate_cbfs_buffer =
(void *)CONFIG_CBFS_CACHE_ADDRESS;