spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / powerpc / platforms / iseries / setup.h
blob729754bbb0189054f1fc28311ce13f66c6e341af
1 /*
2 * Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
3 * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
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>.
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.
17 #ifndef __ISERIES_SETUP_H__
18 #define __ISERIES_SETUP_H__
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);
25 extern void *build_flat_dt(unsigned long phys_mem_size);
27 #endif /* __ISERIES_SETUP_H__ */