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

Pankaj GOYAL pankaj.goyal at st.com
Mon Dec 13 09:13:27 CET 2004


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 at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Zhang, Jian
Sent: Wednesday, November 03, 2004 3:52 AM
To: u-boot-users at 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





More information about the U-Boot mailing list