fs_pd.h 551 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Platform information definitions.
  3. *
  4. * 2006 (c) MontaVista Software, Inc.
  5. * Vitaly Bordug <vbordug@ru.mvista.com>
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. #ifndef FS_PD_H
  12. #define FS_PD_H
  13. #include <sysdev/fsl_soc.h>
  14. #include <asm/time.h>
  15. static inline int uart_baudrate(void)
  16. {
  17. return get_baudrate();
  18. }
  19. static inline int uart_clock(void)
  20. {
  21. return ppc_proc_freq;
  22. }
  23. #endif