diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/gale/mmu.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/storm/mmu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/gale/mmu.c b/src/mainboard/google/gale/mmu.c index 3b9917c9a9..1d8bd3370a 100644 --- a/src/mainboard/google/gale/mmu.c +++ b/src/mainboard/google/gale/mmu.c @@ -28,7 +28,7 @@ void setup_dram_mappings(enum dram_state dram) /* Map DMA memory */ mmu_config_range(DMA_START, DMA_SIZE, DCACHE_OFF); /* Mark cbmem backing store as ready. */ - if (ENV_ROMSTAGE) + if (ENV_CREATES_CBMEM) ipq_cbmem_backing_store_ready(); } else { mmu_disable_range(DRAM_START, DRAM_SIZE); diff --git a/src/mainboard/google/storm/mmu.c b/src/mainboard/google/storm/mmu.c index 37b4654b1b..b482f9be2e 100644 --- a/src/mainboard/google/storm/mmu.c +++ b/src/mainboard/google/storm/mmu.c @@ -25,7 +25,7 @@ void setup_dram_mappings(enum dram_state dram) mmu_config_range(DRAM_START, DRAM_SIZE, DCACHE_WRITEBACK); /* Map DMA memory */ mmu_config_range(DMA_START, DMA_SIZE, DCACHE_OFF); - if (ENV_ROMSTAGE) + if (ENV_CREATES_CBMEM) /* Mark cbmem backing store as ready. */ ipq_cbmem_backing_store_ready(); } else { |