summaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/veyron')
-rw-r--r--src/mainboard/google/veyron/romstage.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mainboard/google/veyron/romstage.c b/src/mainboard/google/veyron/romstage.c
index de4617c24e..488f581a76 100644
--- a/src/mainboard/google/veyron/romstage.c
+++ b/src/mainboard/google/veyron/romstage.c
@@ -8,11 +8,12 @@
#include <console/console.h>
#include <device/mmio.h>
#include <program_loading.h>
-#include <soc/sdram.h>
+#include <romstage_common.h>
#include <soc/clock.h>
-#include <soc/pwm.h>
#include <soc/grf.h>
+#include <soc/pwm.h>
#include <soc/rk808.h>
+#include <soc/sdram.h>
#include <soc/tsadc.h>
#include <symbols.h>
#include <timestamp.h>
@@ -68,6 +69,12 @@ void main(void)
console_init();
exception_init();
+
+ romstage_main();
+}
+
+void __noreturn romstage_main(void)
+{
configure_l2ctlr();
tsadc_init();