[PATCH] ARM: kirkwood: Increase NAND chip-delay for DNS-320
Jamie Lentin
jm at lentin.co.uk
Sun Oct 28 16:47:42 EDT 2012
The default chip-delay of 25ns is a bit too tight for some DNS-320's,
increase to 35ns.
Signed-off-by: Jamie Lentin <jm at lentin.co.uk>
---
I now own 2 DNS-320's, the first of which is happy with a mainline
kernel, the second fills the console with "Bad eraseblock xxx at
0x00000xxxxxxx" for every eraseblock and refuses to access the NAND.
Beyond this they appear identical, and report the same NAND chip
(I haven't physically checked that it's the same, however).
The patch below fixes it, however:-
* Is there something else I should be trying, rather than potentially
masking the problem?
* Is chip-delay too low for kirkwood generally?
Cheers,
arch/arm/boot/dts/kirkwood-dns320.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood-dns320.dts b/arch/arm/boot/dts/kirkwood-dns320.dts
index 5bb0bf3..abe17a4 100644
--- a/arch/arm/boot/dts/kirkwood-dns320.dts
+++ b/arch/arm/boot/dts/kirkwood-dns320.dts
@@ -50,5 +50,9 @@
clock-frequency = <166666667>;
status = "okay";
};
+
+ nand at 3000000 {
+ chip-delay = <35>;
+ };
};
};
--
1.7.10.4
More information about the linux-arm-kernel
mailing list