Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mtd-nand-s3c2410.h
Go to the documentation of this file.
1 /* arch/arm/mach-s3c2410/include/mach/nand.h
2  *
3  * Copyright (c) 2004 Simtec Electronics
4  * Ben Dooks <[email protected]>
5  *
6  * S3C2410 - NAND device controller platform_device info
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11 */
12 
32  unsigned int disable_ecc:1;
33  unsigned int flash_bbt:1;
34 
35  unsigned int options;
36  int nr_chips;
38  char *name;
39  int *nr_map;
42 };
43 
45  /* timing information for controller, all times in nanoseconds */
46 
47  int tacls; /* time for active CLE/ALE to nWE/nOE */
48  int twrph0; /* active time for nWE/nOE */
49  int twrph1; /* time for release CLE/ALE from nWE/nOE inactive */
50 
51  unsigned int ignore_unset_ecc:1;
52 
53  int nr_sets;
55 
57  int chip);
58 };
59 
67 extern void s3c_nand_set_platdata(struct s3c2410_platform_nand *nand);