summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/onenand.h
diff options
context:
space:
mode:
authorRoman Tereshonkov <roman.tereshonkov@nokia.com>2011-02-17 14:44:42 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-03-11 17:22:47 +0300
commitc93ff6bf16523d33e991a1fadde1b8d63eb7cd2c (patch)
tree79274e999ebb76ba73ece6d5fde44fb6594c2505 /arch/arm/plat-omap/include/plat/onenand.h
parentb3dcfd35244e1cb8dc8dfa5c05013b133dbb437a (diff)
downloadlinux-c93ff6bf16523d33e991a1fadde1b8d63eb7cd2c.tar.xz
mtd: omap: add new variable to platform data to control onenand unlocking
New variable skip_initial_unlocking is added to the omap_onenand_platform_data. This is used to inform the onenand driver to skip onenand unlocking when it is initialized. Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/onenand.h')
-rw-r--r--arch/arm/plat-omap/include/plat/onenand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/onenand.h b/arch/arm/plat-omap/include/plat/onenand.h
index affe87e9ece7..1b430d5fdd54 100644
--- a/arch/arm/plat-omap/include/plat/onenand.h
+++ b/arch/arm/plat-omap/include/plat/onenand.h
@@ -24,6 +24,7 @@ struct omap_onenand_platform_data {
int dma_channel;
u8 flags;
u8 regulator_can_sleep;
+ u8 skip_initial_unlocking;
};
#define ONENAND_MAX_PARTITIONS 8