Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43856
+
+ spin_lock_irqsave(&ebu_lock, flags);
+ for (i = 0; i < len; i++)
-+ ltq_w8(buf[i], (void __iomem *)nandaddr);
++ ltq_w8(buf[i], (void __iomem *)(nandaddr | NAND_WRITE_DATA));
+ spin_unlock_irqrestore(&ebu_lock, flags);
+}
+
- spin_lock_irqsave(&ebu_lock, flags);
for (i = 0; i < len; i++)
- ltq_w8(buf[i], (void __iomem *)nandaddr);
+ ltq_w8(buf[i], (void __iomem *)(nandaddr | NAND_WRITE_DATA));
- spin_unlock_irqrestore(&ebu_lock, flags);
}