common.h 828 B

123456789101112131415161718192021222324252627282930313233
  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. struct clk;
  12. extern const u32 *mxs_get_ocotp(void);
  13. extern int mxs_reset_block(void __iomem *);
  14. extern void mxs_timer_init(struct clk *, int);
  15. extern int mx23_register_gpios(void);
  16. extern int mx23_clocks_init(void);
  17. extern void mx23_map_io(void);
  18. extern void mx23_init_irq(void);
  19. extern int mx28_register_gpios(void);
  20. extern int mx28_clocks_init(void);
  21. extern void mx28_map_io(void);
  22. extern void mx28_init_irq(void);
  23. extern void icoll_init_irq(void);
  24. #endif /* __MACH_MXS_COMMON_H__ */