aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-omap/onenand.h
diff options
context:
space:
mode:
authorKai Svahn <kai.svahn@nokia.com>2007-01-26 13:14:34 -0800
committerTony Lindgren <tony@atomide.com>2007-09-20 09:59:26 -0700
commit8777297b5e5fb7f908b51b56548b7cf7dbbf2022 (patch)
tree2e09681cd8eb80ad9fb389103f158514ea8d8abd /include/asm-arm/arch-omap/onenand.h
parent23300597948131d07eebeb1308c2ba0a1c147494 (diff)
ARM: OMAP: Merge driver headers from N800 tree
This patch merges omap specific driver headers from N800 tree. Signed-off-by: Kai Svahn <kai.svahn@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap/onenand.h')
-rw-r--r--include/asm-arm/arch-omap/onenand.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/onenand.h b/include/asm-arm/arch-omap/onenand.h
new file mode 100644
index 00000000000..6c959d0ce47
--- /dev/null
+++ b/include/asm-arm/arch-omap/onenand.h
@@ -0,0 +1,21 @@
+/*
+ * include/asm-arm/arch-omap/onenand.h
+ *
+ * Copyright (C) 2006 Nokia Corporation
+ * Author: Juha Yrjola
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/mtd/partitions.h>
+
+struct omap_onenand_platform_data {
+ int cs;
+ int gpio_irq;
+ struct mtd_partition *parts;
+ int nr_parts;
+ int (*onenand_setup)(void __iomem *);
+ int dma_channel;
+};