summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/simple/misc-radstone_ppc7d.c
blob: 569e0d4feeaf1cd864e51d95965bca33842abf09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * arch/ppc/boot/simple/misc-radstone_ppc7d.c
 *
 * Misc data for Radstone PPC7D board.
 *
 * Author: James Chapman <jchapman@katalix.com>
 */

#include <linux/types.h>
#include <platforms/radstone_ppc7d.h>

#if defined(CONFIG_SERIAL_MPSC_CONSOLE)
extern u32 mv64x60_console_baud;
extern u32 mv64x60_mpsc_clk_src;
extern u32 mv64x60_mpsc_clk_freq;
#endif

void
mv64x60_board_init(void __iomem *old_base, void __iomem *new_base)
{
#if defined(CONFIG_SERIAL_MPSC_CONSOLE)
	mv64x60_console_baud = PPC7D_DEFAULT_BAUD;
	mv64x60_mpsc_clk_src = PPC7D_MPSC_CLK_SRC;
	mv64x60_mpsc_clk_freq = PPC7D_MPSC_CLK_FREQ;
#endif
}