davinci: dm646x: Add IDE setup
authorHemant Pedanekar <hemantp@ti.com>
Thu, 9 Jul 2009 14:13:20 +0000 (19:43 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 26 Aug 2009 07:57:02 +0000 (10:57 +0300)
commit1c92a554fcad141f8c73eecdb1cc5ac0527a5c15
treefee7c293f5c39e192b7c8fae3357e20029bea139
parent6077d265324f13a4b7db30eb70cabed07fd58936
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>
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/dm646x.h