sync hh.org
[hh.org.git] / arch / ppc / syslib / ibm440gp_common.h
blob94d7835038adab254d9fc41f603eaf169b7d3ed3
1 /*
2 * PPC440GP system library
4 * Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net>
5 * Copyright (c) 2003 Zultys Technologies
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.
13 #ifdef __KERNEL__
14 #ifndef __PPC_SYSLIB_IBM440GP_COMMON_H
15 #define __PPC_SYSLIB_IBM440GP_COMMON_H
17 #ifndef __ASSEMBLY__
19 #include <linux/init.h>
20 #include <syslib/ibm44x_common.h>
23 * Please, refer to the Figure 13.1 in 440GP user manual
25 * if internal UART clock is used, ser_clk is ignored
27 void ibm440gp_get_clocks(struct ibm44x_clocks*, unsigned int sys_clk,
28 unsigned int ser_clk) __init;
30 #endif /* __ASSEMBLY__ */
31 #endif /* __PPC_SYSLIB_IBM440GP_COMMON_H */
32 #endif /* __KERNEL__ */