diff options
author | Remy Bohmer <linux@bohmer.net> | 2011-02-12 19:06:26 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-12 22:58:34 +0200 |
commit | 9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176 (patch) | |
tree | 2c699b404371499f7007c97227a0d6e8e1585dc7 /disk/part.c | |
parent | 976b38c0742dc1db13af03cae9ded4392e47182d (diff) | |
download | u-boot-imx-9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176.zip u-boot-imx-9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176.tar.gz u-boot-imx-9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176.tar.bz2 |
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>
Diffstat (limited to 'disk/part.c')
0 files changed, 0 insertions, 0 deletions