Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
1b0b323
Breadcrumbs
linux
/
arch
/
arm
/
plat-omap
/
include
/
plat
/
nand.h
Copy path
Blame
Blame
Latest commit
History
History
44 lines (39 loc) · 1.13 KB
Breadcrumbs
linux
/
arch
/
arm
/
plat-omap
/
include
/
plat
/
nand.h
Top
File metadata and controls
Code
Blame
44 lines (39 loc) · 1.13 KB
Raw
/* * arch/arm/plat-omap/include/mach/nand.h * * Copyright (C) 2006 Micron Technology Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/mtd/partitions.h> enum nand_io { NAND_OMAP_PREFETCH_POLLED = 0, /* prefetch polled mode, default */ NAND_OMAP_POLLED, /* polled mode, without prefetch */ NAND_OMAP_PREFETCH_DMA /* prefetch enabled sDMA mode */ }; struct omap_nand_platform_data { unsigned int options; int cs; int gpio_irq; struct mtd_partition *parts; struct gpmc_timings *gpmc_t; int nr_parts; int (*nand_setup)(void); int (*dev_ready)(struct omap_nand_platform_data *); int dma_channel; enum nand_io xfer_type; unsigned long phys_base; int devsize; }; /* minimum size for IO mapping */ #define NAND_IO_SIZE 4 #if defined(CONFIG_MTD_NAND_OMAP2) || defined(CONFIG_MTD_NAND_OMAP2_MODULE) extern int gpmc_nand_init(struct omap_nand_platform_data *d); #else static inline int gpmc_nand_init(struct omap_nand_platform_data *d) { return 0; } #endif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
You can’t perform that action at this time.