summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-22 03:57:37 +0000
committerTom Rini <trini@ti.com>2013-07-24 09:51:03 -0400
commit5a4dcfac1e05f7c025a465d3372a1c1425004c2b (patch)
tree70e09c7663af2785fd2272b8f678cc14894dc13d /arch/mips
parent843a76b66be70a28a55f295fa72faa74dde9e02b (diff)
downloadtalos-obmc-uboot-5a4dcfac1e05f7c025a465d3372a1c1425004c2b.tar.gz
talos-obmc-uboot-5a4dcfac1e05f7c025a465d3372a1c1425004c2b.zip
MIPS: qemu-malta: add support for emulated MIPS Malta board
Add minimal support for the MIPS Malta CoreLV board emulated by Qemu. The only supported peripherial is the UART. This is enough to boot U-Boot to the command prompt both in little and big endian mode. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/malta.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h
new file mode 100644
index 0000000000..b2151649f0
--- /dev/null
+++ b/arch/mips/include/asm/malta.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef _MIPS_ASM_MALTA_H
+#define _MIPS_ASM_MALTA_H
+
+#define MALTA_IO_PORT_BASE 0x10000000
+
+#define MALTA_UART_BASE (MALTA_IO_PORT_BASE + 0x3f8)
+
+#endif /* _MIPS_ASM_MALTA_H */
OpenPOWER on IntegriCloud