1 /* 2 * Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com> 3 * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu> 4 * 5 * Description: 6 * Architecture- / platform-specific boot-time initialization code for 7 * the IBM AS/400 LPAR. Adapted from original code by Grant Erickson and 8 * code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek 9 * <dan@netx4.com>. 10 * 11 * This program is free software; you can redistribute it and/or 12 * modify it under the terms of the GNU General Public License 13 * as published by the Free Software Foundation; either version 14 * 2 of the License, or (at your option) any later version. 15 */ 16 17 #ifndef __ISERIES_SETUP_H__ 18 #define __ISERIES_SETUP_H__ 19 20 extern void *iSeries_early_setup(void); 21 extern unsigned long iSeries_get_boot_time(void); 22 extern int iSeries_set_rtc_time(struct rtc_time *tm); 23 extern void iSeries_get_rtc_time(struct rtc_time *tm); 24 25 extern void *build_flat_dt(unsigned long phys_mem_size); 26 27 #endif /* __ISERIES_SETUP_H__ */ 28