common.h 914 B

1234567891011121314151617181920212223242526272829
  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 __ASM_ARCH_MXC_COMMON_H__
  10. #define __ASM_ARCH_MXC_COMMON_H__
  11. struct platform_device;
  12. struct clk;
  13. extern void mxc_map_io(void);
  14. extern void mxc_init_irq(void);
  15. extern void mxc_timer_init(struct clk *timer_clk);
  16. extern int mx1_clocks_init(unsigned long fref);
  17. extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
  18. extern int mx27_clocks_init(unsigned long fref);
  19. extern int mx31_clocks_init(unsigned long fref);
  20. extern int mx35_clocks_init(void);
  21. extern int mxc_register_gpios(void);
  22. extern int mxc_register_device(struct platform_device *pdev, void *data);
  23. extern void mxc_set_cpu_type(unsigned int type);
  24. #endif