aboutsummaryrefslogtreecommitdiff
path: root/board/isee/igep0033
diff options
context:
space:
mode:
authorLokesh Vutla2013-07-30 10:48:53 +0530
committerTom Rini2013-08-15 08:51:10 -0400
commit95cb69faeb45f6396a1336bff201a50ea1677d85 (patch)
tree6eac5c28deb7b60094ccc54ea2a1e22e92722389 /board/isee/igep0033
parent94d77fb656d49f2b0efe2de5605a52c5145d2c3b (diff)
ARM: AM33xx: Cleanup clocks layer
Cleaning up the clocks layer. This helps in addition of new Soc with minimal changes. This is derived from OMAP4 boards. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Tested-by: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/isee/igep0033')
-rw-r--r--board/isee/igep0033/board.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/board/isee/igep0033/board.c b/board/isee/igep0033/board.c
index 034a8aa7ceb..a065a7422f4 100644
--- a/board/isee/igep0033/board.c
+++ b/board/isee/igep0033/board.c
@@ -103,11 +103,7 @@ void s_init(void)
;
#ifdef CONFIG_SPL_BUILD
- /* Setup the PLLs and the clocks for the peripherals */
- pll_init();
-
- /* Enable RTC32K clock */
- rtc32k_enable();
+ setup_clocks_for_console();
enable_uart0_pin_mux();
@@ -116,6 +112,11 @@ void s_init(void)
preloader_console_init();
+ prcm_init();
+
+ /* Enable RTC32K clock */
+ rtc32k_enable();
+
/* Configure board pin mux */
enable_board_pin_mux();