summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/include/mach/clock.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-07-28 14:16:47 +0530
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:54 -0400
commit7531122e5ca64fd1d5b9a1feffa25bc812a627a6 (patch)
tree1e051055e26824d39bd73cf5bcca42984fa132ee /arch/arm/mach-keystone/include/mach/clock.h
parent94069301bafb601ff3c61b5d208fba4e3c948efd (diff)
downloadu-boot-imx-7531122e5ca64fd1d5b9a1feffa25bc812a627a6.zip
u-boot-imx-7531122e5ca64fd1d5b9a1feffa25bc812a627a6.tar.gz
u-boot-imx-7531122e5ca64fd1d5b9a1feffa25bc812a627a6.tar.bz2
ARM: keystone2: Remove unsed external clocks
Remove unused external clocks and make a common definition for all keystone platforms. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-keystone/include/mach/clock.h')
-rw-r--r--arch/arm/mach-keystone/include/mach/clock.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/include/mach/clock.h b/arch/arm/mach-keystone/include/mach/clock.h
index de697c0..d0bcee7 100644
--- a/arch/arm/mach-keystone/include/mach/clock.h
+++ b/arch/arm/mach-keystone/include/mach/clock.h
@@ -55,6 +55,16 @@ enum {
MAX_PLL_COUNT,
};
+enum ext_clk_e {
+ sys_clk,
+ alt_core_clk,
+ pa_clk,
+ tetris_clk,
+ ddr3a_clk,
+ ddr3b_clk,
+ ext_clk_count /* number of external clocks */
+};
+
enum clk_e {
CLK_LIST(GENERATE_ENUM)
};
@@ -72,6 +82,7 @@ struct pll_init_data {
int pll_od; /* PLL output divider */
};
+extern unsigned int external_clk[ext_clk_count];
extern const struct keystone_pll_regs keystone_pll_regs[];
extern s16 divn_val[];
extern int speeds[];