summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-davinci
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-11-01 20:00:33 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:25 +0100
commit29b0bef54cf611baa6e6704c4f4b0d47f5fafb96 (patch)
treed98e68a206ffc143f3fab3ceb9e8c12f1dd7fef4 /arch/arm/include/asm/arch-davinci
parent53d3b2ceedcf48c4264f5a7b2f98f31d1f1725bc (diff)
downloadu-boot-imx-29b0bef54cf611baa6e6704c4f4b0d47f5fafb96.zip
u-boot-imx-29b0bef54cf611baa6e6704c4f4b0d47f5fafb96.tar.gz
u-boot-imx-29b0bef54cf611baa6e6704c4f4b0d47f5fafb96.tar.bz2
arm926ejs, davinci: add cpuinfo for dm365
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-davinci')
-rw-r--r--arch/arm/include/asm/arch-davinci/pll_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-davinci/pll_defs.h b/arch/arm/include/asm/arch-davinci/pll_defs.h
index 5d37616..606ed0b 100644
--- a/arch/arm/include/asm/arch-davinci/pll_defs.h
+++ b/arch/arm/include/asm/arch-davinci/pll_defs.h
@@ -76,4 +76,8 @@ struct dv_pll_regs {
#define dv_pll0_regs ((struct dv_pll_regs *)DAVINCI_PLL_CNTRL0_BASE)
#define dv_pll1_regs ((struct dv_pll_regs *)DAVINCI_PLL_CNTRL1_BASE)
+#define ARM_PLLDIV (offsetof(struct dv_pll_regs, plldiv2))
+#define DDR_PLLDIV (offsetof(struct dv_pll_regs, plldiv7))
+
+unsigned int davinci_clk_get(unsigned int div);
#endif /* _DV_PLL_DEFS_H_ */