common-board-devices.h 467 B

12345678910111213141516
  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. #define OMAP3_EVM_TS_GPIO 175
  6. struct mtd_partition;
  7. struct ads7846_platform_data;
  8. void omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,
  9. struct ads7846_platform_data *board_pdata);
  10. void omap_nand_flash_init(int opts, struct mtd_partition *parts, int n_parts);
  11. #endif /* __OMAP_COMMON_BOARD_DEVICES__ */