mpc8xx.h 675 B

1234567891011121314151617181920
  1. /*
  2. * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips
  3. * May need to be cleaned as the port goes on ...
  4. *
  5. * Copyright (C) 2008 Jochen Friedrich <[email protected]>
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. #ifndef __MPC8xx_H
  12. #define __MPC8xx_H
  13. extern void __noreturn mpc8xx_restart(char *cmd);
  14. extern void mpc8xx_calibrate_decr(void);
  15. extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
  16. extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
  17. extern unsigned int mpc8xx_get_irq(void);
  18. #endif /* __MPC8xx_H */