]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd/docg3: add erase functions
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 19 Nov 2011 15:02:53 +0000 (16:02 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Thu, 24 Nov 2011 21:26:57 +0000 (23:26 +0200)
commitcc42f481b265ae9b4c35b4311f9ce09854e64eef
tree471c66720a3d21d73ae4c8cd9d0609978b695503
parent496a5fc59dae79943e19bb6929401484fa528504
mtd/docg3: add erase functions

Add erase capability to the docg3 driver. The erase block is
made of 2 physical blocks, as both share all 64 pages. That
makes an erase block of at least 64 kBytes.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Ivan Djelic <ivan.djelic@parrot.com>
Reviewed-by: Mike Dunn <mikedunn@newsguy.com>
drivers/mtd/devices/docg3.c