]> git.ipfire.org Git - people/ms/u-boot.git/commit
mtd/dataflash.c: fix a problem with the last partition
authorIlko Iliev <iliev@ronetix.at>
Tue, 2 Dec 2008 16:27:54 +0000 (17:27 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 2 Dec 2008 20:53:24 +0000 (21:53 +0100)
commitbd876772ee04095e5dd943d97515a1f14bad4b1c
tree538dd2f488cd5d0e018c280885ebbfd59f79e3c6
parent03f797793b124dccaae145b977d15d6cb9e74504
mtd/dataflash.c: fix a problem with the last partition

This patch fix the problem that only the [NB_DATAFLASH_AREA - 1] dataflash
partition can be defined to use the area to the end of dataflash size.
Now it is possible to have only one dataflash partition from 0 to the end
of of dataflash size.

Signed-off-by: Ilko Iliev <iliev@ronetix.at>
drivers/mtd/dataflash.c