Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
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
31
struct
s3c2410_nand_set
{
32
unsigned
int
disable_ecc
:1;
33
unsigned
int
flash_bbt
:1;
34
35
unsigned
int
options
;
36
int
nr_chips
;
37
int
nr_partitions
;
38
char
*
name
;
39
int
*
nr_map
;
40
struct
mtd_partition
*
partitions
;
41
struct
nand_ecclayout
*
ecc_layout
;
42
};
43
44
struct
s3c2410_platform_nand
{
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
;
54
struct
s3c2410_nand_set
*
sets
;
55
56
void
(*
select_chip
)(
struct
s3c2410_nand_set
*,
57
int
chip
);
58
};
59
67
extern
void
s3c_nand_set_platdata
(
struct
s3c2410_platform_nand
*nand);
Generated on Thu Jan 10 2013 14:52:20 for Linux Kernel by
1.8.2