summaryrefslogtreecommitdiffstats
path: root/target/linux/rb532-2.6/files/drivers
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-29 11:10:24 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-29 11:10:24 +0000
commitd8e90848bbb9b06ab79a922eaac9cd6644b2e6b1 (patch)
treed3b7cdc8e98c309f5382604642f45ee0f7e0d205 /target/linux/rb532-2.6/files/drivers
parentc31017cbd3a72514bfc5f89f926a17bb34d24a21 (diff)
Fix rb523 nand detection (#1723)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7777 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532-2.6/files/drivers')
-rw-r--r--target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c b/target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c
index 1ab37b820..027241b20 100644
--- a/target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c
+++ b/target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c
@@ -99,8 +99,8 @@ int __init rbmips_init(void)
memset(&rnand, 0, sizeof(rnand));
printk("RB500 nand\n");
- changeLatchU5(LO_WPX | LO_FOFF | LO_CEX,
- LO_ULED | LO_ALE | LO_CLE);
+ changeLatchU5(LO_FOFF | LO_CEX,
+ LO_ULED | LO_ALE | LO_CLE | LO_WPX);
rnand.cmd_ctrl = rbmips_hwcontrol500;
rnand.dev_ready = rb500_dev_ready;