[U-Boot-Users] [PATCH] support nand based environment

OK. Here are the diff from U-Boot1.11 and CHANGELOG.
Regards, Jian -----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Thursday, May 20, 2004 5:07 PM To: Zhang, Jian Cc: u-boot-users@lists.sourceforge.net; Johnson, Steve-OMAP Subject: Re: [U-Boot-Users] [PATCH] support nand based environment
In message BA2832125C3C994384FCC051CDFC73690F4731@dlee2k05.ent.ti.com you wrote:
The attached file, env_nand.c, allows storing U-Boot environment data
in
NAND flash. It is compiled based on CFG_ENV_IS_IN_NAND.
You need make the following changes to be able to use it:
- nand_rw() and nand_erase() in cmd_nand.c need to be made public.
- env_common.c needs add CFG_ENV_IS_IN_NAND for compile condition.
- env_nand.o needs to be added to obj list
I currently use U-Boot1.02 which is not up-to-date. I guess sending
this
new file makes merging easier.
On contrary. Please play by the rules, and send a patch.
Best regards,
Wolfgang Denk

Dear Jian,
in message BA2832125C3C994384FCC051CDFC73690F4733@dlee2k05.ent.ti.com you wrote:
This patch added env_nand.c to U-Boot 1.11. It supports storing environment data in the first NAND flash device. It is enabled by CFG_ENV_IS_IN_NAND.
It seems all your files were converted to DOS format.
Don't do that!!!!
And please read the Coding Style (no trailing white space, please).
Added, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Zhang, Jian