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

Zhang, Jian jzhang at ti.com
Fri May 21 01:49:51 CEST 2004


OK. Here are the diff from U-Boot1.11 and CHANGELOG.

Regards,
Jian
-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de] 
Sent: Thursday, May 20, 2004 5:07 PM
To: Zhang, Jian
Cc: u-boot-users at lists.sourceforge.net; Johnson, Steve-OMAP
Subject: Re: [U-Boot-Users] [PATCH] support nand based environment 

In message <BA2832125C3C994384FCC051CDFC73690F4731 at 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:
> 1. nand_rw() and nand_erase() in cmd_nand.c need to be made public.
> 2. env_common.c needs add CFG_ENV_IS_IN_NAND for compile condition.
> 3. 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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
After a heated argument on some trivial matter Nancy [Astor]  .  .  .
shouted,  ``If  I were your wife I would put poison in your coffee!''
Whereupon Winston Churchill with equal heat and  sincerity  answered,
``And if I were your husband I would drink it.''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: env_nand.diff
Type: application/octet-stream
Size: 8490 bytes
Desc: env_nand.diff
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040520/353d9004/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGELOG
Type: application/octet-stream
Size: 151 bytes
Desc: CHANGELOG
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040520/353d9004/attachment-0001.obj 


More information about the U-Boot mailing list