]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/nand.c
nand: fix flash erase when oob is in memory
authorRicard Wanderlof <ricard.wanderlof@axis.com>
Fri, 13 Nov 2015 13:17:28 +0000 (14:17 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 Nov 2015 13:27:43 +0000 (14:27 +0100)
commit8e37ca6d0be8aae2887c167da783fd2d9536c962
treef27acfd9275a1ce3e0efd892b312f9d0f3609824
parent7595ed743914b9de1d146213dedc1e007283f723
nand: fix flash erase when oob is in memory

For the "main area on file, oob in memory" case, fix the shifts so that
we erase the correct number of pages.

Signed-off-by: Ricard Wanderlöf <ricardw@axis.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nand.c