[U-Boot-Users] [PATCH] 16-bit NAND support

Hi,
This is a patch to add 16-bit NAND support to u-boot. It doesn't change any existing 8-bit NAND code so it shouldn't affect any existing boards that have 8-bit chips. I tested it in 2 TI OMAP boards, one using software to access chip, the other one using hardware NAND controller.
Regards, Jian

In message BA2832125C3C994384FCC051CDFC7369B8A34F@dlee2k05.ent.ti.com you wrote:
This is a patch to add 16-bit NAND support to u-boot. It doesn't change any existing 8-bit NAND code so it shouldn't affect any existing boards that have 8-bit chips. I tested it in 2 TI OMAP boards, one using
Did you actually _check_ if it has impact on exiting boards? Impact on parameters like code size, for example?
Best regards,
Wolfgang Denk

Hi, I have applied ur patch to my u-boot1.1.1 code and one error is generated.The log is shown below.can any one please tell me what can be the problem.And also pls tell me how do I select that whether I m going to use 8bit Nand flash or 16bit Nand flash.Is there any CONFIG variable is required to define.I m working on a 16bit Nand flash from the Samsung.
patching file include/linux/mtd/nand.h patching file include/linux/mtd/nand_ids.h patching file common/cmd_nand.c Hunk #2 FAILED at 23. Hunk #3 succeeded at 390 (offset -4 lines). Hunk #5 succeeded at 710 (offset -4 lines). Hunk #7 succeeded at 863 (offset -4 lines). Hunk #9 succeeded at 983 (offset -4 lines). Hunk #11 succeeded at 1043 (offset -4 lines). Hunk #13 succeeded at 1144 (offset -4 lines). Hunk #15 succeeded at 1222 (offset -4 lines). Hunk #17 succeeded at 1303 (offset -4 lines). Hunk #19 succeeded at 1374 (offset -4 lines). Hunk #21 succeeded at 1466 (offset -4 lines). 1 out of 22 hunks FAILED -- saving rejects to file common/cmd_nand.c.rej
Bye
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net] On Behalf Of Zhang, Jian Sent: Wednesday, November 03, 2004 3:52 AM To: u-boot-users@lists.sourceforge.net Cc: Zhang, Jian; Johnson, Steve-OMAP Subject: [U-Boot-Users] [PATCH] 16-bit NAND support
Hi,
This is a patch to add 16-bit NAND support to u-boot. It doesn't change any existing 8-bit NAND code so it shouldn't affect any existing boards that have 8-bit chips. I tested it in 2 TI OMAP boards, one using software to access chip, the other one using hardware NAND controller.
Regards, Jian

In message 00bb01c4e0eb$a003b370$0f10b40a@dlh.st.com you wrote:
I have applied ur patch to my u-boot1.1.1 code and one error is
generated.The log is shown below.can any one please tell me what can be
Please use current code (top of CVS).
Best regards,
Wolfgang Denk

In message BA2832125C3C994384FCC051CDFC7369B8A34F@dlee2k05.ent.ti.com you wrote:
This is a patch to add 16-bit NAND support to u-boot. It doesn't change any existing 8-bit NAND code so it shouldn't affect any existing boards that have 8-bit chips. I tested it in 2 TI OMAP boards, one using software to access chip, the other one using hardware NAND controller.
Added, thanks.
Please don't forget the CHANGELOG entry, and _please_ stick to the Coding Style!
Best regards,
Wolfgang Denk
participants (3)
-
Pankaj GOYAL
-
Wolfgang Denk
-
Zhang, Jian