aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/veyron/romstage.c')
-rw-r--r--src/mainboard/google/veyron/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron/romstage.c b/src/mainboard/google/veyron/romstage.c
index 5b26f48e3c..5831fde095 100644
--- a/src/mainboard/google/veyron/romstage.c
+++ b/src/mainboard/google/veyron/romstage.c
@@ -27,6 +27,7 @@
#include <timestamp.h>
#include <arch/cache.h>
#include <arch/exception.h>
+#include <soc/rockchip/rk3288/sdram.h>
void main(void)
{
@@ -36,6 +37,7 @@ void main(void)
u32 dram_start = (CONFIG_SYS_SDRAM_BASE >> 20);
u32 dram_size = CONFIG_DRAM_SIZE_MB;
u32 dram_end = dram_start + dram_size;
+ sdram_init(get_sdram_config());
mmu_init();
/* Device memory below DRAM is uncached. */
mmu_config_range(0, dram_start, DCACHE_OFF);