summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@kontron.de>2019-06-06 17:07:55 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-07-01 14:50:20 +0200
commita126483e82957172b8a93ebb1d30fb2b1df3cbbc (patch)
tree07aea8e1716e55d17ec89b68c647a335d93789f9 /lib
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf (diff)
mtd: spinand: Fix max_bad_eraseblocks_per_lun info in memorg
The 1Gb Macronix chip can have a maximum of 20 bad blocks, while the 2Gb version has twice as many blocks and therefore the maximum number of bad blocks is 40. The 4Gb GigaDevice GD5F4GQ4xA has twice as many blocks as its 2Gb counterpart and therefore a maximum of 80 bad blocks. Fixes: 377e517b5fa5 ("mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg") Reported-by: Emil Lenngren <emil.lenngren@gmail.com> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions