misc-cpci690.c 737 B

123456789101112131415161718192021222324252627
  1. /*
  2. * arch/ppc/boot/simple/misc-cpci690.c
  3. *
  4. * Add birec data for Force CPCI690 board.
  5. *
  6. * Author: Mark A. Greer <source@mvista.com>
  7. *
  8. * 2003 (c) MontaVista Software, Inc. This file is licensed under
  9. * the terms of the GNU General Public License version 2. This program
  10. * is licensed "as is" without any warranty of any kind, whether express
  11. * or implied.
  12. */
  13. #include <linux/types.h>
  14. #include <platforms/cpci690.h>
  15. extern u32 mv64x60_console_baud;
  16. extern u32 mv64x60_mpsc_clk_src;
  17. extern u32 mv64x60_mpsc_clk_freq;
  18. void
  19. mv64x60_board_init(void __iomem *old_base, void __iomem *new_base)
  20. {
  21. mv64x60_console_baud = CPCI690_MPSC_BAUD;
  22. mv64x60_mpsc_clk_src = CPCI690_MPSC_CLK_SRC;
  23. mv64x60_mpsc_clk_freq = CPCI690_BUS_FREQ;
  24. }