summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/veyron_jerry/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/veyron_jerry/romstage.c')
-rw-r--r--src/mainboard/google/veyron_jerry/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/veyron_jerry/romstage.c b/src/mainboard/google/veyron_jerry/romstage.c
index 1eed268fa722..9d19586cd557 100644
--- a/src/mainboard/google/veyron_jerry/romstage.c
+++ b/src/mainboard/google/veyron_jerry/romstage.c
@@ -112,7 +112,7 @@ void main(void)
/* Now that DRAM is up, add mappings for it and DMA coherency buffer. */
mmu_config_range((uintptr_t)_dram/MiB,
- CONFIG_DRAM_SIZE_MB, DCACHE_WRITEBACK);
+ sdram_size_mb(), DCACHE_WRITEBACK);
mmu_config_range((uintptr_t)_dma_coherent/MiB,
_dma_coherent_size/MiB, DCACHE_OFF);