blob: a0b4a42836ab9f7a29f1757ee410e37a237af00c [file] [log] [blame]
Mike Rapoport96974a22011-04-25 01:09:05 +03001#ifndef __OMAP_COMMON_BOARD_DEVICES__
2#define __OMAP_COMMON_BOARD_DEVICES__
3
Peter Ujfalusia53b8e32011-06-04 08:16:41 +03004#include "twl-common.h"
5
Igor Grinberg1704bf12011-05-30 00:11:45 -07006#define NAND_BLOCK_SIZE SZ_128K
7
Mike Rapoport9a3f39f2011-04-25 01:09:07 +03008struct mtd_partition;
Mike Rapoport96974a22011-04-25 01:09:05 +03009struct ads7846_platform_data;
10
11void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
12 struct ads7846_platform_data *board_pdata);
Mike Rapoport9a3f39f2011-04-25 01:09:07 +030013void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
Mike Rapoport96974a22011-04-25 01:09:05 +030014
15#endif /* __OMAP_COMMON_BOARD_DEVICES__ */