+/* at 133MHz HCLK, this is 0ns, 30ns and 30ns */
+#define GTA02_NAND_TACLS       0
+#define GTA02_NAND_TWRPH0      4
+#define GTA02_NAND_TWRPH1      4
+

I think you mean GTA01 here...

Furthermore, TACLS=0 is not valid on the S3C2410; minimum value is 1.
>From my reading of the NAND-spec, the best we can do is
10ns,25ns,10ns, which is 2,4,2 (and gives 15ns,30ns,15ns at 133MHz).
Feel free to refute this, though, if you have a better reading.

+int board_nand_init(struct nand_chip *nand)
+{
+       return s3c24xx_nand_init(nand, GTA01_NAND_TACLS,
+                                GTA01_NAND_TWRPH0,
+                                GTA01_NAND_TWRPH1);

Unfortunately, I do not want to touch the bootloader right now as I do
not have access to a debug board.  Hope somebody else can play with
these numbers a bit.

/Jonas

Reply via email to