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
mtd
latch-addr-flash.h
Go to the documentation of this file.
1
/*
2
* Interface for NOR flash driver whose high address lines are latched
3
*
4
* Copyright © 2008 MontaVista Software, Inc. <
[email protected]
>
5
*
6
* This file is licensed under the terms of the GNU General Public License
7
* version 2. This program is licensed "as is" without any warranty of any
8
* kind, whether express or implied.
9
*/
10
#ifndef __LATCH_ADDR_FLASH__
11
#define __LATCH_ADDR_FLASH__
12
13
struct
map_info
;
14
struct
mtd_partition
;
15
16
struct
latch_addr_flash_data
{
17
unsigned
int
width
;
18
unsigned
int
size
;
19
20
int
(*
init
)(
void
*
data
,
int
cs
);
21
void
(*
done
)(
void
*
data
);
22
void
(*
set_window
)(
unsigned
long
offset
,
void
*
data
);
23
void
*
data
;
24
25
unsigned
int
nr_parts
;
26
struct
mtd_partition
*
parts
;
27
};
28
29
#endif
Generated on Thu Jan 10 2013 14:52:02 for Linux Kernel by
1.8.2