mpc8xx.h 700 B

123456789101112131415161718192021
  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 <jochen@scram.de>
  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 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 void mpc8xx_pics_init(void);
  18. extern unsigned int mpc8xx_get_irq(void);
  19. #endif /* __MPC8xx_H */