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

Zhang, Jian jzhang at ti.com
Thu May 20 23:05:00 CEST 2004

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: env_nand.c
Type: application/octet-stream
Size: 4300 bytes
Desc: env_nand.c
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040520/d109e242/attachment.obj 

More information about the U-Boot mailing list