summaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2011-02-12 19:06:26 +0100
committerWolfgang Denk <wd@denx.de>2011-04-12 22:58:34 +0200
commit9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176 (patch)
tree2c699b404371499f7007c97227a0d6e8e1585dc7 /disk/part.c
parent976b38c0742dc1db13af03cae9ded4392e47182d (diff)
downloadu-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