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