aboutsummaryrefslogtreecommitdiffstats
path: root/src/soc/rockchip/rk3288/media.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288/media.c')
-rw-r--r--src/soc/rockchip/rk3288/media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3288/media.c b/src/soc/rockchip/rk3288/media.c
index c6ceeb9cd..2b023e15d 100644
--- a/src/soc/rockchip/rk3288/media.c
+++ b/src/soc/rockchip/rk3288/media.c
@@ -24,7 +24,7 @@
int init_default_cbfs_media(struct cbfs_media *media)
{
-#if defined(__BOOT_BLOCK__) || defined(__VER_STAGE__)
+#if defined(__PRE_RAM__) && !defined(__ROMSTAGE__)
return initialize_rockchip_spi_cbfs_media(media,
(void *)CONFIG_CBFS_SRAM_CACHE_ADDRESS,
CONFIG_CBFS_SRAM_CACHE_SIZE);