diff options
| author | Afzal Mohammed <afzal@ti.com> | 2012-10-05 02:09:54 -0400 |
|---|---|---|
| committer | Afzal Mohammed <afzal@ti.com> | 2012-10-15 05:11:59 -0400 |
| commit | eb77b6a78ac7f63985a3f592baf80ff33d213c48 (patch) | |
| tree | 2e77450150a5db8f27f8a58efa954b5b9c97e353 /include/linux | |
| parent | 4ea1e4ba7bec0a3d490a846376140643e4860536 (diff) | |
ARM: OMAP2+: onenand: connected soc info in pdata
onenand driver needs to know whether soc is falling under
34xx family to properly handle onenand. But driver is not
supposed to do cpu_is_* check, hence educate platform data
with this information. Driver can make use of it to avoid
cpu_is_* check.
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/mtd-onenand-omap2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/mtd-onenand-omap2.h b/include/linux/platform_data/mtd-onenand-omap2.h index 21bb0ff4052e..ef9c60d4b29b 100644 --- a/include/linux/platform_data/mtd-onenand-omap2.h +++ b/include/linux/platform_data/mtd-onenand-omap2.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | #define ONENAND_SYNC_READ (1 << 0) | 15 | #define ONENAND_SYNC_READ (1 << 0) |
| 16 | #define ONENAND_SYNC_READWRITE (1 << 1) | 16 | #define ONENAND_SYNC_READWRITE (1 << 1) |
| 17 | #define ONENAND_IN_OMAP34XX (1 << 2) | ||
| 17 | 18 | ||
| 18 | struct omap_onenand_platform_data { | 19 | struct omap_onenand_platform_data { |
| 19 | int cs; | 20 | int cs; |
