aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-29 11:10:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-29 11:10:24 +0000
commit87d765fc93c0d2215558fe55e0da67b63d86ffff (patch)
tree2187f25a0a109d20a6829e5099294541b8de91a7
parent10f9d034878afd5c3a2fe1ed304f9b576de325ab (diff)
downloadupstream-87d765fc93c0d2215558fe55e0da67b63d86ffff.tar.gz
upstream-87d765fc93c0d2215558fe55e0da67b63d86ffff.tar.bz2
upstream-87d765fc93c0d2215558fe55e0da67b63d86ffff.zip
Fix rb523 nand detection (#1723)
SVN-Revision: 7777
-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 1ab37b8208..027241b206 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;