]> git.dujemihanovic.xyz Git - u-boot.git/commit
Add support for dataflash to U-boot environment settings tool.
authorRemy Bohmer <linux@bohmer.net>
Sat, 12 Feb 2011 18:06:26 +0000 (19:06 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Apr 2011 20:58:34 +0000 (22:58 +0200)
commit9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176
tree2c699b404371499f7007c97227a0d6e8e1585dc7
parent976b38c0742dc1db13af03cae9ded4392e47182d
Add support for dataflash to U-boot environment settings tool.

* The sector size for SPI-dataflash (like AT45 flashes) are not always
  a power-of-2. So, the sector calculations are rewritten such that it
  works for either power-of-2 as any size sectors.
* Make the flash sector size optional in case it is the same value as
  the environment size.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
tools/env/fw_env.c
tools/env/fw_env.config
tools/env/fw_env.h