]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd/docg3: add multiple floor support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 19 Nov 2011 15:02:48 +0000 (16:02 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Thu, 24 Nov 2011 21:26:57 +0000 (23:26 +0200)
commit806fde4b8d7f07cbeaca523e438620030734dc41
tree6215b5d8a0aef3a0a46d9bad2c98e6f18418f48a
parentb0de0c1647264bbc8f7c77ad2f2c3a0be3b0ef92
mtd/docg3: add multiple floor support

Add support for multiple floors, ie. cascaded docg3
chips. There might be 4 docg3 chips cascaded, sharing the
same address space, and providing up to 4 times the storage
capacity of a unique chip.

Each floor will be seen as an independant mtd device.

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
drivers/mtd/devices/docg3.h