Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
1da177e4 LT |
2 | * PPC440GP system library |
3 | * | |
4 | * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net> | |
5 | * Copyright (c) 2003 Zultys Technologies | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify it | |
8 | * under the terms of the GNU General Public License as published by the | |
9 | * Free Software Foundation; either version 2 of the License, or (at your | |
10 | * option) any later version. | |
11 | * | |
12 | */ | |
13 | #ifdef __KERNEL__ | |
14 | #ifndef __PPC_SYSLIB_IBM440GP_COMMON_H | |
15 | #define __PPC_SYSLIB_IBM440GP_COMMON_H | |
16 | ||
17 | #ifndef __ASSEMBLY__ | |
18 | ||
19 | #include <linux/config.h> | |
20 | #include <linux/init.h> | |
21 | #include <syslib/ibm44x_common.h> | |
22 | ||
23 | /* | |
24 | * Please, refer to the Figure 13.1 in 440GP user manual | |
25 | * | |
26 | * if internal UART clock is used, ser_clk is ignored | |
27 | */ | |
28 | void ibm440gp_get_clocks(struct ibm44x_clocks*, unsigned int sys_clk, | |
29 | unsigned int ser_clk) __init; | |
30 | ||
31 | #endif /* __ASSEMBLY__ */ | |
32 | #endif /* __PPC_SYSLIB_IBM440GP_COMMON_H */ | |
33 | #endif /* __KERNEL__ */ |