Fix rb523 nand detection (#1723)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jun 2007 11:10:24 +0000 (11:10 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 29 Jun 2007 11:10:24 +0000 (11:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7777 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/rb532-2.6/files/drivers/mtd/nand/rbmipsnand.c

index 1ab37b8..027241b 100644 (file)
@@ -99,8 +99,8 @@ int __init rbmips_init(void)
        memset(&rnand, 0, sizeof(rnand));
 
        printk("RB500 nand\n");
        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;
        rnand.cmd_ctrl = rbmips_hwcontrol500;
 
        rnand.dev_ready = rb500_dev_ready;
This page took 0.024204 seconds and 4 git commands to generate.