diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /include/linux/platform_data/tegra_nor.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'include/linux/platform_data/tegra_nor.h')
-rw-r--r-- | include/linux/platform_data/tegra_nor.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/linux/platform_data/tegra_nor.h b/include/linux/platform_data/tegra_nor.h new file mode 100644 index 00000000000..cd8faff2f1c --- /dev/null +++ b/include/linux/platform_data/tegra_nor.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /* | ||
2 | * include/linux/platform_data/tegra_nor.h | ||
3 | * | ||
4 | * Copyright (C) 2010 - 2011 NVIDIA Corporation. | ||
5 | * | ||
6 | * Author: | ||
7 | * Raghavendra V K <rvk@nvidia.com> | ||
8 | * | ||
9 | * This software is licensed under the terms of the GNU General Public | ||
10 | * License version 2, as published by the Free Software Foundation, and | ||
11 | * may be copied, distributed, and modified under those terms. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | */ | ||
19 | |||
20 | #ifndef __MACH_TEGRA_NOR_PDATA_H | ||
21 | #define __MACH_TEGRA_NOR_PDATA_H | ||
22 | |||
23 | #include <asm/mach/flash.h> | ||
24 | |||
25 | struct tegra_nor_chip_parms { | ||
26 | struct { | ||
27 | uint32_t timing0; | ||
28 | uint32_t timing1; | ||
29 | } timing_default, timing_read; | ||
30 | }; | ||
31 | |||
32 | struct tegra_nor_platform_data { | ||
33 | struct tegra_nor_chip_parms chip_parms; | ||
34 | struct flash_platform_data flash; | ||
35 | }; | ||
36 | |||
37 | #endif /* __MACH_TEGRA_NOR_PDATA_H */ | ||