blob: 0a47ac53c95970a0fbf958410829c0a2cc97d9e3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
3 * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
4 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 * 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
Paul Mackerras143a1de2005-10-19 23:11:21 +100020extern unsigned long iSeries_get_boot_time(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021extern int iSeries_set_rtc_time(struct rtc_time *tm);
22extern void iSeries_get_rtc_time(struct rtc_time *tm);
23
Stephen Rothwellc81014f2006-05-19 17:00:04 +100024extern void *build_flat_dt(unsigned long phys_mem_size);
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* __ISERIES_SETUP_H__ */