162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Prototypes, etc. for the Freescale MPC8xx embedded cpu chips 362306a36Sopenharmony_ci * May need to be cleaned as the port goes on ... 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2008 Jochen Friedrich <jochen@scram.de> 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * This file is licensed under the terms of the GNU General Public License 862306a36Sopenharmony_ci * version 2. This program is licensed "as is" without any warranty of any 962306a36Sopenharmony_ci * kind, whether express or implied. 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci#ifndef __MPC8xx_H 1262306a36Sopenharmony_ci#define __MPC8xx_H 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciextern void __noreturn mpc8xx_restart(char *cmd); 1562306a36Sopenharmony_ciextern void mpc8xx_calibrate_decr(void); 1662306a36Sopenharmony_ciextern int mpc8xx_set_rtc_time(struct rtc_time *tm); 1762306a36Sopenharmony_ciextern void mpc8xx_get_rtc_time(struct rtc_time *tm); 1862306a36Sopenharmony_ciextern unsigned int mpc8xx_get_irq(void); 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#endif /* __MPC8xx_H */ 21