]> git.sur5r.net Git - u-boot/commitdiff
arm926ejs, davinci: add missing spi defines for dm365
authorHeiko Schocher <hs@denx.de>
Tue, 1 Nov 2011 20:00:34 +0000 (20:00 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:25 +0000 (22:56 +0100)
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>
arch/arm/include/asm/arch-davinci/hardware.h
arch/arm/include/asm/arch-davinci/pll_defs.h

index 77c4d623d5a3ba3f8d76f0a0d3e86058bd62c32a..707ff4d78fb36f19a8b33da2f37b6073f52b4ef2 100644 (file)
@@ -111,6 +111,8 @@ typedef volatile unsigned int *     dv_reg_p;
 #define DAVINCI_ASYNC_EMIF_CNTRL_BASE          0x01d10000
 #define DAVINCI_MMC_SD0_BASE                   0x01d11000
 #define DAVINCI_DDR_EMIF_CTRL_BASE             0x20000000
+#define DAVINCI_SPI0_BASE                      0x01c66000
+#define DAVINCI_SPI1_BASE                      0x01c66800
 
 #elif defined(CONFIG_SOC_DM646X)
 #define DAVINCI_ASYNC_EMIF_CNTRL_BASE          0x20008000
index 606ed0bc80fde7f66c1d752285fa8d4a5a881ded..5c309533a2797e24492e4916a6930f3e0d88070b 100644 (file)
@@ -78,6 +78,7 @@ struct dv_pll_regs {
 
 #define ARM_PLLDIV     (offsetof(struct dv_pll_regs, plldiv2))
 #define DDR_PLLDIV     (offsetof(struct dv_pll_regs, plldiv7))
+#define SPI_PLLDIV     (offsetof(struct dv_pll_regs, plldiv4))
 
 unsigned int davinci_clk_get(unsigned int div);
 #endif /* _DV_PLL_DEFS_H_ */