Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #include <linux/init.h> |
| 20 | #include <syslib/ibm44x_common.h> |
| 21 | |
| 22 | /* |
| 23 | * Please, refer to the Figure 13.1 in 440GP user manual |
| 24 | * |
| 25 | * if internal UART clock is used, ser_clk is ignored |
| 26 | */ |
| 27 | void ibm440gp_get_clocks(struct ibm44x_clocks*, unsigned int sys_clk, |
| 28 | unsigned int ser_clk) __init; |
| 29 | |
| 30 | #endif /* __ASSEMBLY__ */ |
| 31 | #endif /* __PPC_SYSLIB_IBM440GP_COMMON_H */ |
| 32 | #endif /* __KERNEL__ */ |