xref: /linux/arch/powerpc/platforms/8xx/mpc8xx.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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 
14 extern void __noreturn mpc8xx_restart(char *cmd);
15 extern void mpc8xx_calibrate_decr(void);
16 extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
17 extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
18 extern unsigned int mpc8xx_get_irq(void);
19 
20 #endif /* __MPC8xx_H */
21