The SPI opcode 0xd8 is not a chip erase opcode on any chip out there

Besides that, the function as implemented just walks the chip and
ignores sector sizes.
Sector erase with SPI opcode 0xd8 is of course still supported.
Kill a declaration for a nonexisting function while we're at it.

Corresponding to flashrom svn r1054.

Signed-off-by: Carl-Daniel Hailfinger <>
Acked-by: Sean Nelson <>
2 files changed