[PATCH 2/5] MTD: bcm63xxpart: make sure CFE and NVRAM partitions are at least 64K

Guillaume LECERF glecerf at gmail.com
Sat Dec 17 08:13:42 EST 2011


Hi Jonas,

2011/12/17 Jonas Gorski <jonas.gorski at gmail.com>:
> -       spareaddr = roundup(totallen, master->erasesize) + master->erasesize;
> -       sparelen = master->size - spareaddr - master->erasesize;
> +       spareaddr = roundup(totallen, master->erasesize) + cfelen;

spareaddr = roundup(totallen, cfelen) + cfelen ?

-- 
Guillaume LECERF
OpenBricks developer - www.openbricks.org



More information about the linux-mtd mailing list