summaryrefslogtreecommitdiff
path: root/src/mainboard/google/snow/bootblock.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-08 01:25:04 +0100
committerDavid Hendricks <dhendrix@chromium.org>2013-02-08 01:35:48 +0100
commit1c3187932d1399bef60788759f75a60179a6a474 (patch)
tree384101516c595b1ba6a3619206251ac1a1d2570c /src/mainboard/google/snow/bootblock.c
parent9029f4b63f6d0e29bf1608e666cdb025de45ca24 (diff)
downloadcoreboot-1c3187932d1399bef60788759f75a60179a6a474.tar.xz
Revert "armv7/snow: Move clock initialization from bootblock to romstage."
This reverts commit 9029f4b63f6d0e29bf1608e666cdb025de45ca24 This patch needs to go at the end of the UART patch set. Sorry 'bout the confusion! Change-Id: I5702c7d6130daf95776f2c15d24e5d253691cefd Reviewed-on: http://review.coreboot.org/2319 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/mainboard/google/snow/bootblock.c')
-rw-r--r--src/mainboard/google/snow/bootblock.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mainboard/google/snow/bootblock.c b/src/mainboard/google/snow/bootblock.c
index 18306cc51c..bcfe440379 100644
--- a/src/mainboard/google/snow/bootblock.c
+++ b/src/mainboard/google/snow/bootblock.c
@@ -23,14 +23,23 @@
#include <cbfs.h>
#include <uart.h>
#include <console/console.h>
+#include <cpu/samsung/exynos5250/clk.h>
+#include <cpu/samsung/exynos5250/dmc.h>
#include <cpu/samsung/exynos5250/periph.h>
-#include <cpu/samsung/exynos5250/pinmux.h>
+#include <cpu/samsung/exynos5250/clock_init.h>
#endif
void bootblock_mainboard_init(void);
void bootblock_mainboard_init(void)
{
+ struct mem_timings *mem;
+ struct arm_clk_ratios *arm_ratios;
+
+ mem = get_mem_timings();
+ arm_ratios = get_arm_clk_ratios();
+ system_clock_init(mem, arm_ratios);
+
#if CONFIG_EARLY_SERIAL_CONSOLE
exynos_pinmux_config(PERIPH_ID_UART3, PINMUX_FLAG_NONE);
uart_init();