aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/simple/mv64x60_tty.c
diff options
context:
space:
mode:
authorLee Nicks <allinux@gmail.com>2005-09-03 15:55:48 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:59 -0700
commit3acb23440f90b03b19846d2b3a005dcbf61a55cf (patch)
tree6c2c7feac536b1ee5a9bedf3342e4c81ca47a9bc /arch/ppc/boot/simple/mv64x60_tty.c
parent[PATCH] ppc32: add CONFIG_HZ (diff)
downloadlinux-dev-3acb23440f90b03b19846d2b3a005dcbf61a55cf.tar.xz
linux-dev-3acb23440f90b03b19846d2b3a005dcbf61a55cf.zip
[PATCH] ppc32: add support for Marvell EV64360BP board
This patch adds support for Marvell EV64360BP board. So far, it supports mpsc serial console, gigabit ethernet, jffs2 root filesystem, etc. Other device support, like watchdog, RTC, will be added later. Signed-off-by: Lee Nicks <allinux@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--arch/ppc/boot/simple/mv64x60_tty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/boot/simple/mv64x60_tty.c b/arch/ppc/boot/simple/mv64x60_tty.c
index 5b45eb46b669..b9c24d4c738b 100644
--- a/arch/ppc/boot/simple/mv64x60_tty.c
+++ b/arch/ppc/boot/simple/mv64x60_tty.c
@@ -22,9 +22,16 @@
#include <asm/mv64x60_defs.h>
#include <mpsc_defs.h>
+#ifdef CONFIG_EV64360
+#include <platforms/ev64360.h>
+u32 mv64x60_console_baud = EV64360_DEFAULT_BAUD;
+u32 mv64x60_mpsc_clk_src = EV64360_MPSC_CLK_SRC; /* TCLK */
+u32 mv64x60_mpsc_clk_freq = EV64360_MPSC_CLK_FREQ;
+#else
u32 mv64x60_console_baud = 9600;
u32 mv64x60_mpsc_clk_src = 8; /* TCLK */
u32 mv64x60_mpsc_clk_freq = 100000000;
+#endif
extern void udelay(long);
static void stop_dma(int chan);