From 95cb69faeb45f6396a1336bff201a50ea1677d85 Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Tue, 30 Jul 2013 10:48:53 +0530 Subject: 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 Tested-by: Heiko Schocher Acked-by: Heiko Schocher --- board/isee/igep0033/board.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'board/isee/igep0033') diff --git a/board/isee/igep0033/board.c b/board/isee/igep0033/board.c index 034a8aa..a065a74 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(); -- cgit v1.1