summaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/gru/romstage.c')
-rw-r--r--src/mainboard/google/gru/romstage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/gru/romstage.c b/src/mainboard/google/gru/romstage.c
index edf440d00e..0b944febc5 100644
--- a/src/mainboard/google/gru/romstage.c
+++ b/src/mainboard/google/gru/romstage.c
@@ -74,5 +74,6 @@ void platform_romstage_main(void)
mmu_config_range((void *)0, (uintptr_t)sdram_size_mb() * MiB,
CACHED_MEM);
- mmu_config_range(_dma_coherent, _dma_coherent_size, UNCACHED_MEM);
+ mmu_config_range(_dma_coherent, REGION_SIZE(dma_coherent),
+ UNCACHED_MEM);
}