[glsdk/meta-ti-glsdk.git] / recipes-bsp / x-load / x-load / 0004-OMAP4-clocks-Disable-slimbus-and-pad_clks.patch
1 From 14a48e4b24aee2387f8e4cd3b480236451fe1294 Mon Sep 17 00:00:00 2001
2 From: Rajendra Nayak <rnayak@ti.com>
3 Date: Mon, 4 Oct 2010 18:49:18 +0530
4 Subject: [PATCH 4/5] OMAP4: clocks: Disable slimbus and pad_clks
6 The slimbus and pad_clks if left enabled in x-loader
7 would gate abe power domain from transitioning to RET.
9 These should be enabled by the audio driver (if present)
10 in the kernel.
12 Signed-off-by: Rajendra Nayak <rnayak@ti.com>
13 Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
14 ---
15 board/omap4430panda/clock.c | 3 ---
16 1 files changed, 0 insertions(+), 3 deletions(-)
18 diff --git a/board/omap4430panda/clock.c b/board/omap4430panda/clock.c
19 index 4404cc5..e41f327 100644
20 --- a/board/omap4430panda/clock.c
21 +++ b/board/omap4430panda/clock.c
22 @@ -333,9 +333,6 @@ static void configure_abe_dpll(u32 clk_index)
23 /* Select sys_clk as ref clk for ABE dpll */
24 sr32(CM_ABE_PLL_REF_CLKSEL, 0, 32, 0x0);
26 - /* Enable slimbus and pad clocks */
27 - sr32(CM_CLKSEL_ABE, 0, 32, 0x500);
28 -
29 /* Unlock the ABE dpll */
30 sr32(CM_CLKMODE_DPLL_ABE, 0, 3, PLL_MN_POWER_BYPASS);
31 wait_on_value(BIT0, 0, CM_IDLEST_DPLL_ABE, LDELAY);
32 --
33 1.6.6.1