diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2011-11-19 16:02:48 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 19:07:18 +0100 |
commit | ae9d4934b2d76a9fba21f5ad3692378d0e7fc24b (patch) | |
tree | 32dc01f47b5dc4ed0ff8e0d4b05f662e826d2745 /drivers/mtd/devices/docg3.h | |
parent | mtd: docg3: fix reading oob+data without correction (diff) | |
download | linux-ae9d4934b2d76a9fba21f5ad3692378d0e7fc24b.tar.xz linux-ae9d4934b2d76a9fba21f5ad3692378d0e7fc24b.zip |
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices/docg3.h')
-rw-r--r-- | drivers/mtd/devices/docg3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/devices/docg3.h b/drivers/mtd/devices/docg3.h index 62af5aaeec43..75df3a1060fb 100644 --- a/drivers/mtd/devices/docg3.h +++ b/drivers/mtd/devices/docg3.h @@ -80,6 +80,7 @@ #define DOC_CHIPID_G3 0x200 #define DOC_ERASE_MARK 0xaa +#define DOC_MAX_NBFLOORS 4 /* * Flash registers */ |