From: Chen Gong Date: Wed, 26 Nov 2008 10:23:57 +0000 (+0000) Subject: [MTD] m25p80: chip erase != block erase != sector erase X-Git-Tag: v2.6.28-rc8~35^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7854643a91eade84112dca9768eeb8d32463d101;p=pandora-kernel.git [MTD] m25p80: chip erase != block erase != sector erase This fixes broken terminology added in the "m25p80.c erase enhance" patch, which added a chip erase command but called it "block erase". There are already two block erase commands; blocks are 4KiB or 32KiB. There's also a sector erase (usually 64 KiB). Chip erase typically covers Megabytes. OPCODE_BE ==> OPCODE_CHIP_ERASE erase_block ==> erase_chip [dbrownell@users.sourceforge.net: update sector erase comments too ] Signed-off-by: Chen Gong Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- Reading git-diff-tree failed