common.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  4. /*
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __MACH_MXS_COMMON_H__
  10. #define __MACH_MXS_COMMON_H__
  11. extern const u32 *mxs_get_ocotp(void);
  12. extern int mxs_reset_block(void __iomem *);
  13. extern void mxs_timer_init(int);
  14. extern void mxs_restart(char, const char *);
  15. extern int mxs_saif_clkmux_select(unsigned int clkmux);
  16. extern void mx23_soc_init(void);
  17. extern int mx23_clocks_init(void);
  18. extern void mx23_map_io(void);
  19. extern void mx23_init_irq(void);
  20. extern void mx28_soc_init(void);
  21. extern int mx28_clocks_init(void);
  22. extern void mx28_map_io(void);
  23. extern void mx28_init_irq(void);
  24. extern void icoll_init_irq(void);
  25. extern struct platform_device *mxs_add_dma(const char *devid,
  26. resource_size_t base);
  27. extern struct platform_device *mxs_add_gpio(char *name, int id,
  28. resource_size_t iobase, int irq);
  29. #endif /* __MACH_MXS_COMMON_H__ */