ibm440gp_common.h 935 B

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