2011-04-25 00:09:05 +02:00
|
|
|
#ifndef __OMAP_COMMON_BOARD_DEVICES__
|
|
|
|
#define __OMAP_COMMON_BOARD_DEVICES__
|
|
|
|
|
2011-06-04 07:16:41 +02:00
|
|
|
#include "twl-common.h"
|
|
|
|
|
2011-05-30 09:11:45 +02:00
|
|
|
#define NAND_BLOCK_SIZE SZ_128K
|
|
|
|
|
2011-04-25 00:09:07 +02:00
|
|
|
struct mtd_partition;
|
2011-04-25 00:09:05 +02: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-25 00:09:07 +02:00
|
|
|
void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
|
2011-04-25 00:09:05 +02:00
|
|
|
|
|
|
|
#endif /* __OMAP_COMMON_BOARD_DEVICES__ */
|