18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips 38c2ecf20Sopenharmony_ci * May need to be cleaned as the port goes on ... 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2008 Jochen Friedrich <jochen@scram.de> 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * This file is licensed under the terms of the GNU General Public License 88c2ecf20Sopenharmony_ci * version 2. This program is licensed "as is" without any warranty of any 98c2ecf20Sopenharmony_ci * kind, whether express or implied. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci#ifndef __MPC8xx_H 128c2ecf20Sopenharmony_ci#define __MPC8xx_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciextern void __noreturn mpc8xx_restart(char *cmd); 158c2ecf20Sopenharmony_ciextern void mpc8xx_calibrate_decr(void); 168c2ecf20Sopenharmony_ciextern int mpc8xx_set_rtc_time(struct rtc_time *tm); 178c2ecf20Sopenharmony_ciextern void mpc8xx_get_rtc_time(struct rtc_time *tm); 188c2ecf20Sopenharmony_ciextern void mpc8xx_pics_init(void); 198c2ecf20Sopenharmony_ciextern unsigned int mpc8xx_get_irq(void); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif /* __MPC8xx_H */ 22