aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/storm/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/storm/romstage.c')
-rw-r--r--src/mainboard/google/storm/romstage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/storm/romstage.c b/src/mainboard/google/storm/romstage.c
index 3c7543b177..d827ce60de 100644
--- a/src/mainboard/google/storm/romstage.c
+++ b/src/mainboard/google/storm/romstage.c
@@ -1,6 +1,7 @@
/*
* This file is part of the coreboot project.
*
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
* Copyright 2014 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
@@ -21,11 +22,16 @@
#include <console/console.h>
#include <program_loading.h>
#include <soc/soc_services.h>
+#include "mmu.h"
void main(void)
{
console_init();
initialize_dram();
+
+ /* Add dram mappings to mmu tables. */
+ setup_dram_mappings(DRAM_INITIALIZED);
+
cbmem_initialize_empty();
run_ramstage();
}