platform.h 466 B

123456789101112131415161718192021
  1. /*
  2. * arch/arm/mach-ep93xx/include/mach/platform.h
  3. */
  4. #ifndef __ASSEMBLY__
  5. struct ep93xx_eth_data
  6. {
  7. unsigned char dev_addr[6];
  8. unsigned char phy_id;
  9. };
  10. void ep93xx_map_io(void);
  11. void ep93xx_init_irq(void);
  12. void ep93xx_init_time(unsigned long);
  13. void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
  14. void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
  15. void ep93xx_init_devices(void);
  16. extern struct sys_timer ep93xx_timer;
  17. #endif