summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/omap5/hw_data.c
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2013-07-08 16:04:40 +0530
committerTom Rini <trini@ti.com>2013-07-26 16:39:11 -0400
commitf986d9720836433ded29f06c8f5aed462bd20924 (patch)
tree23056ff782102e41e96ff70b0209fdd5161e589a /arch/arm/cpu/armv7/omap5/hw_data.c
parent65e9d56fb9ce9cfd7ffff7afaa6b7de50e400e06 (diff)
downloadtalos-obmc-uboot-f986d9720836433ded29f06c8f5aed462bd20924.tar.gz
talos-obmc-uboot-f986d9720836433ded29f06c8f5aed462bd20924.zip
ARM: DRA7xx: Enable GMAC clock control
Enabling CPSW module by enabling GMAC clock control Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap5/hw_data.c')
-rw-r--r--arch/arm/cpu/armv7/omap5/hw_data.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c
index c21674a755..fbbc486621 100644
--- a/arch/arm/cpu/armv7/omap5/hw_data.c
+++ b/arch/arm/cpu/armv7/omap5/hw_data.c
@@ -393,6 +393,9 @@ void enable_basic_clocks(void)
(*prcm)->cm_l3init_clkstctrl,
(*prcm)->cm_memif_clkstctrl,
(*prcm)->cm_l4cfg_clkstctrl,
+#ifdef CONFIG_DRIVER_TI_CPSW
+ (*prcm)->cm_gmac_clkstctrl,
+#endif
0
};
@@ -420,6 +423,9 @@ void enable_basic_clocks(void)
(*prcm)->cm_wkup_wdtimer2_clkctrl,
(*prcm)->cm_l4per_uart3_clkctrl,
(*prcm)->cm_l4per_i2c1_clkctrl,
+#ifdef CONFIG_DRIVER_TI_CPSW
+ (*prcm)->cm_gmac_gmac_clkctrl,
+#endif
0
};
@@ -476,7 +482,6 @@ void enable_basic_uboot_clocks(void)
(*prcm)->cm_l3init_fsusb_clkctrl,
0
};
-
do_enable_clocks(clk_domains_essential,
clk_modules_hw_auto_essential,
clk_modules_explicit_en_essential,
OpenPOWER on IntegriCloud