summaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/rbtx4939
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2009-03-04 21:01:31 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-20 19:07:39 +0100
commita591f5d35e89be90c04830d7de01c276af68aeb7 (patch)
tree25ed19b0423f7035e340ff7b6fea3352971d0a83 /arch/mips/txx9/rbtx4939
parent[JFFS2] jffs2_acl_count() tests < 0 on unsigned (diff)
downloadlinux-a591f5d35e89be90c04830d7de01c276af68aeb7.tar.xz
linux-a591f5d35e89be90c04830d7de01c276af68aeb7.zip
[MTD] [NAND] TXx9: add NDFMC support
Add platform support for NAND Flash Memory Controller of TXx9 SoCs. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Acked-By: Ralf Bächle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/mips/txx9/rbtx4939')
-rw-r--r--arch/mips/txx9/rbtx4939/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c
index 656603b85b71..74839f2a111e 100644
--- a/arch/mips/txx9/rbtx4939/setup.c
+++ b/arch/mips/txx9/rbtx4939/setup.c
@@ -333,6 +333,10 @@ static void __init rbtx4939_device_init(void)
platform_device_add_data(pdev, &smc_pdata, sizeof(smc_pdata)) ||
platform_device_add(pdev))
platform_device_put(pdev);
+ /* TC58DVM82A1FT: tDH=10ns, tWP=tRP=tREADID=35ns */
+ tx4939_ndfmc_init(10, 35,
+ (1 << 1) | (1 << 2),
+ (1 << 2)); /* ch1:8bit, ch2:16bit */
rbtx4939_led_setup();
tx4939_wdt_init();
tx4939_ata_init();