common-board-devices.h 437 B

123456789101112131415
  1. #ifndef __OMAP_COMMON_BOARD_DEVICES__
  2. #define __OMAP_COMMON_BOARD_DEVICES__
  3. #include "twl-common.h"
  4. #define NAND_BLOCK_SIZE SZ_128K
  5. struct mtd_partition;
  6. struct ads7846_platform_data;
  7. void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
  8. struct ads7846_platform_data *board_pdata);
  9. void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
  10. #endif /* __OMAP_COMMON_BOARD_DEVICES__ */