2011-04-24 22:09:05 +00:00
|
|
|
#ifndef __OMAP_COMMON_BOARD_DEVICES__
|
|
|
|
#define __OMAP_COMMON_BOARD_DEVICES__
|
|
|
|
|
2011-06-04 05:16:41 +00:00
|
|
|
#include "twl-common.h"
|
|
|
|
|
2011-05-30 07:11:45 +00:00
|
|
|
#define NAND_BLOCK_SIZE SZ_128K
|
|
|
|
|
2011-04-24 22:09:07 +00:00
|
|
|
struct mtd_partition;
|
2011-04-24 22:09:05 +00:00
|
|
|
struct ads7846_platform_data;
|
|
|
|
|
|
|
|
void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
|
|
|
|
struct ads7846_platform_data *board_pdata);
|
2011-04-24 22:09:07 +00:00
|
|
|
void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
|
2011-04-24 22:09:05 +00:00
|
|
|
|
|
|
|
#endif /* __OMAP_COMMON_BOARD_DEVICES__ */
|