Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips
0003  * May need to be cleaned as the port goes on ...
0004  *
0005  * Copyright (C) 2008 Jochen Friedrich <jochen@scram.de>
0006  *
0007  * This file is licensed under the terms of the GNU General Public License
0008  * version 2. This program is licensed "as is" without any warranty of any
0009  * kind, whether express or implied.
0010  */
0011 #ifndef __MPC8xx_H
0012 #define __MPC8xx_H
0013 
0014 extern void __noreturn mpc8xx_restart(char *cmd);
0015 extern void mpc8xx_calibrate_decr(void);
0016 extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
0017 extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
0018 extern unsigned int mpc8xx_get_irq(void);
0019 
0020 #endif /* __MPC8xx_H */