]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: S5PV210: Add SROM controller clock
authorThomas Abraham <thomas.ab@samsung.com>
Wed, 1 Dec 2010 12:42:48 +0000 (18:12 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 30 Dec 2010 00:37:48 +0000 (09:37 +0900)
This patch adds the SROM controller clock to the list of clocks to be enabled at
boot time. It is required to be enabled at boot time since the modules connected
over the SROM interface such as the Ethernet controller need an operational SROM.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/clock.c

index 019c3a69b0e476ca3af20f7d47ff076481f54e60..2f9372fb228697d46f24e2953cbe93df33d21cce 100644 (file)
@@ -525,6 +525,12 @@ static struct clk init_clocks[] = {
                .parent         = &clk_pclk_psys.clk,
                .enable         = s5pv210_clk_ip3_ctrl,
                .ctrlbit        = (1 << 20),
+       }, {
+               .name           = "sromc",
+               .id             = -1,
+               .parent         = &clk_hclk_psys.clk,
+               .enable         = s5pv210_clk_ip1_ctrl,
+               .ctrlbit        = (1 << 26),
        },
 };