summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-malta
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-10-26 13:15:06 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-28 09:01:48 +0100
commit7b29868f3e4d5dbea8dfe2a2ab417301859a8f9a (patch)
tree4b1f440f22e36f8817628734a890c3d2fea66e2f /arch/mips/mach-malta
parent0ac73f13265ae1f04b58b8e4eab10fbbfb3f30b4 (diff)
downloadbarebox-7b29868f3e4d5dbea8dfe2a2ab417301859a8f9a.tar.gz
barebox-7b29868f3e4d5dbea8dfe2a2ab417301859a8f9a.tar.xz
MIPS: qemu-malta: use YAMON-style GT64120 memory map
There are some reasons for using YAMON-style memory map: * we can run Linux kernel from barebox; * we can use GXemul for running barebox. YAMON-style GT64120 memory map make move UART to the new position. The files gt64120.h and mach-gt64120.h are imported from Linux. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-malta')
-rw-r--r--arch/mips/mach-malta/include/mach/hardware.h2
-rw-r--r--arch/mips/mach-malta/include/mach/mach-gt64120.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/arch/mips/mach-malta/include/mach/hardware.h b/arch/mips/mach-malta/include/mach/hardware.h
index affb4ea081..9345a67593 100644
--- a/arch/mips/mach-malta/include/mach/hardware.h
+++ b/arch/mips/mach-malta/include/mach/hardware.h
@@ -18,7 +18,7 @@
#ifndef __INCLUDE_ARCH_HARDWARE_H__
#define __INCLUDE_ARCH_HARDWARE_H__
-#define MALTA_PIIX4_UART0 0xb00003f8
+#define MALTA_PIIX4_UART0 0xb80003f8
/*
* Reset register.
diff --git a/arch/mips/mach-malta/include/mach/mach-gt64120.h b/arch/mips/mach-malta/include/mach/mach-gt64120.h
new file mode 100644
index 0000000000..ed1e23e9e0
--- /dev/null
+++ b/arch/mips/mach-malta/include/mach/mach-gt64120.h
@@ -0,0 +1,13 @@
+/*
+ * This is a direct copy of the ev96100.h file, with a global
+ * search and replace. The numbers are the same.
+ *
+ * The reason I'm duplicating this is so that the 64120/96100
+ * defines won't be confusing in the source code.
+ */
+#ifndef _ASM_MACH_MIPS_MACH_GT64120_DEP_H
+#define _ASM_MACH_MIPS_MACH_GT64120_DEP_H
+
+#define MIPS_GT_BASE 0x1be00000
+
+#endif /* _ASM_MACH_MIPS_MACH_GT64120_DEP_H */