diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-06-27 05:37:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-07 08:22:08 -0400 |
commit | f024ff10b1ab13da4d626366019fd05c49721af7 (patch) | |
tree | 9f2c1431856716d7d22d53315945301ebe2b33e8 /include | |
parent | aa613de676986f136fa6f48a4d709b5d264f4f38 (diff) |
[ARM] 5128/1: tc6393xb: tmio-nand support
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tc6393xb.h | 2 | ||||
-rw-r--r-- | include/linux/mfd/tmio.h | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/mfd/tc6393xb.h b/include/linux/mfd/tc6393xb.h index 0e3dd4ca523b..7cc824a58f7c 100644 --- a/include/linux/mfd/tc6393xb.h +++ b/include/linux/mfd/tc6393xb.h | |||
@@ -31,6 +31,8 @@ struct tc6393xb_platform_data { | |||
31 | 31 | ||
32 | int irq_base; /* a base for cascaded irq */ | 32 | int irq_base; /* a base for cascaded irq */ |
33 | int gpio_base; | 33 | int gpio_base; |
34 | |||
35 | struct tmio_nand_data *nand_data; | ||
34 | }; | 36 | }; |
35 | 37 | ||
36 | /* | 38 | /* |
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h new file mode 100644 index 000000000000..9438d8c9ac1c --- /dev/null +++ b/include/linux/mfd/tmio.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef MFD_TMIO_H | ||
2 | #define MFD_TMIO_H | ||
3 | |||
4 | /* | ||
5 | * data for the NAND controller | ||
6 | */ | ||
7 | struct tmio_nand_data { | ||
8 | struct nand_bbt_descr *badblock_pattern; | ||
9 | struct mtd_partition *partition; | ||
10 | unsigned int num_partitions; | ||
11 | }; | ||
12 | |||
13 | #define TMIO_NAND_CONFIG "tmio-nand-config" | ||
14 | #define TMIO_NAND_CONTROL "tmio-nand-control" | ||
15 | #define TMIO_NAND_IRQ "tmio-nand" | ||
16 | |||
17 | #endif | ||