diff options
author | Hemant Pedanekar <hemantp@ti.com> | 2009-07-09 10:13:20 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:57:02 -0400 |
commit | 1c92a554fcad141f8c73eecdb1cc5ac0527a5c15 (patch) | |
tree | fee7c293f5c39e192b7c8fae3357e20029bea139 /arch/arm/mach-davinci/include | |
parent | 6077d265324f13a4b7db30eb70cabed07fd58936 (diff) |
davinci: dm646x: Add IDE setup
This patch adds platform data and init function for IDE which could be called
from board specific file to register IDE device.
Note that for 594MHz device the transfer mode is limited to UDMA4 since ideclk
rate is less than 100 MHz, which forces udma_mask in palm_bk3710.c to UDMA4,
while for 729MHz device, it is UDMA5.
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/dm646x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/dm646x.h b/arch/arm/mach-davinci/include/mach/dm646x.h index 05854846242a..feb1e02cdbd8 100644 --- a/arch/arm/mach-davinci/include/mach/dm646x.h +++ b/arch/arm/mach-davinci/include/mach/dm646x.h | |||
@@ -22,7 +22,10 @@ | |||
22 | #define DM646X_EMAC_MDIO_OFFSET (0x4000) | 22 | #define DM646X_EMAC_MDIO_OFFSET (0x4000) |
23 | #define DM646X_EMAC_CNTRL_RAM_SIZE (0x2000) | 23 | #define DM646X_EMAC_CNTRL_RAM_SIZE (0x2000) |
24 | 24 | ||
25 | #define DM646X_ATA_REG_BASE (0x01C66000) | ||
26 | |||
25 | void __init dm646x_init(void); | 27 | void __init dm646x_init(void); |
28 | void __init dm646x_init_ide(void); | ||
26 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata); | 29 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata); |
27 | void __init dm646x_init_mcasp1(struct snd_platform_data *pdata); | 30 | void __init dm646x_init_mcasp1(struct snd_platform_data *pdata); |
28 | 31 | ||