diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-06-27 10:37:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-07 13:22:08 +0100 |
commit | f024ff10b1ab13da4d626366019fd05c49721af7 (patch) | |
tree | 9f2c1431856716d7d22d53315945301ebe2b33e8 /include/linux/mfd/tmio.h | |
parent | aa613de676986f136fa6f48a4d709b5d264f4f38 (diff) | |
download | linux-3.10-f024ff10b1ab13da4d626366019fd05c49721af7.tar.gz linux-3.10-f024ff10b1ab13da4d626366019fd05c49721af7.tar.bz2 linux-3.10-f024ff10b1ab13da4d626366019fd05c49721af7.zip |
[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/linux/mfd/tmio.h')
-rw-r--r-- | include/linux/mfd/tmio.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h new file mode 100644 index 00000000000..9438d8c9ac1 --- /dev/null +++ b/include/linux/mfd/tmio.h @@ -0,0 +1,17 @@ +#ifndef MFD_TMIO_H +#define MFD_TMIO_H + +/* + * data for the NAND controller + */ +struct tmio_nand_data { + struct nand_bbt_descr *badblock_pattern; + struct mtd_partition *partition; + unsigned int num_partitions; +}; + +#define TMIO_NAND_CONFIG "tmio-nand-config" +#define TMIO_NAND_CONTROL "tmio-nand-control" +#define TMIO_NAND_IRQ "tmio-nand" + +#endif |