aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/txx9/rbtx4939/prom.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-09-01 22:22:40 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-10-11 16:18:49 +0100
commitb27311e1cace4e296ace786c886d22f7a8ec78d6 (patch)
tree94d962590160c480f7ef4d0cbb8d43406d91ab1d /arch/mips/txx9/rbtx4939/prom.c
parent0dcdbe6add26719e956299eb519542f7d2f7d0a8 (diff)
MIPS: TXx9: Add RBTX4939 board support
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> create mode 100644 arch/mips/txx9/rbtx4939/Makefile create mode 100644 arch/mips/txx9/rbtx4939/irq.c create mode 100644 arch/mips/txx9/rbtx4939/prom.c create mode 100644 arch/mips/txx9/rbtx4939/setup.c create mode 100644 include/asm-mips/txx9/rbtx4939.h
Diffstat (limited to 'arch/mips/txx9/rbtx4939/prom.c')
-rw-r--r--arch/mips/txx9/rbtx4939/prom.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4939/prom.c b/arch/mips/txx9/rbtx4939/prom.c
new file mode 100644
index 00000000000..bd277ecb4ad
--- /dev/null
+++ b/arch/mips/txx9/rbtx4939/prom.c
@@ -0,0 +1,17 @@
+/*
+ * rbtx4939 specific prom routines
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+
+#include <linux/init.h>
+#include <asm/txx9/generic.h>
+#include <asm/txx9/rbtx4939.h>
+
+void __init rbtx4939_prom_init(void)
+{
+ tx4939_add_memory_regions();
+ txx9_sio_putchar_init(TX4939_SIO_REG(0) & 0xfffffffffULL);
+}