ibm440gp_common.h 909 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  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. #ifndef __ASSEMBLY__
  17. #include <linux/init.h>
  18. #include <syslib/ibm44x_common.h>
  19. /*
  20. * Please, refer to the Figure 13.1 in 440GP user manual
  21. *
  22. * if internal UART clock is used, ser_clk is ignored
  23. */
  24. void ibm440gp_get_clocks(struct ibm44x_clocks*, unsigned int sys_clk,
  25. unsigned int ser_clk) __init;
  26. #endif /* __ASSEMBLY__ */
  27. #endif /* __PPC_SYSLIB_IBM440GP_COMMON_H */
  28. #endif /* __KERNEL__ */