Mike Rapoport | 96974a2 | 2011-04-25 01:09:05 +0300 | [diff] [blame] | 1 | #ifndef __OMAP_COMMON_BOARD_DEVICES__ |
| 2 | #define __OMAP_COMMON_BOARD_DEVICES__ |
| 3 | |
Peter Ujfalusi | a53b8e3 | 2011-06-04 08:16:41 +0300 | [diff] [blame] | 4 | #include "twl-common.h" |
| 5 | |
Igor Grinberg | 1704bf1 | 2011-05-30 00:11:45 -0700 | [diff] [blame] | 6 | #define NAND_BLOCK_SIZE SZ_128K |
Zumeng Chen | 16aced8 | 2012-06-20 17:14:53 +0800 | [diff] [blame] | 7 | #define OMAP3_EVM_TS_GPIO 175 |
Igor Grinberg | 1704bf1 | 2011-05-30 00:11:45 -0700 | [diff] [blame] | 8 | |
Mike Rapoport | 9a3f39f | 2011-04-25 01:09:07 +0300 | [diff] [blame] | 9 | struct mtd_partition; |
Mike Rapoport | 96974a2 | 2011-04-25 01:09:05 +0300 | [diff] [blame] | 10 | struct ads7846_platform_data; |
| 11 | |
| 12 | void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce, |
| 13 | struct ads7846_platform_data *board_pdata); |
Mike Rapoport | 9a3f39f | 2011-04-25 01:09:07 +0300 | [diff] [blame] | 14 | void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts); |
Mike Rapoport | 96974a2 | 2011-04-25 01:09:05 +0300 | [diff] [blame] | 15 | |
| 16 | #endif /* __OMAP_COMMON_BOARD_DEVICES__ */ |