summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-generic
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-07-28 23:36:57 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-07-28 22:49:53 +0200
commit21a379a8cf917e4c45a3c50d8203859ea318c450 (patch)
treef923dae7e6f3f0cb110a5f86937290b0064fe42f /arch/mips/include/asm/mach-generic
parent6d0068ad15e4f771b35d76adc4e6747649ac4961 (diff)
MIPS: Loongson64: Enlarge IO_SPACE_LIMIT
It can be very big on LS7A PCH systems. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/mach-generic')
-rw-r--r--arch/mips/include/asm/mach-generic/spaces.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-generic/spaces.h b/arch/mips/include/asm/mach-generic/spaces.h
index ee5ebe98f6cf..c3ac06a6acd2 100644
--- a/arch/mips/include/asm/mach-generic/spaces.h
+++ b/arch/mips/include/asm/mach-generic/spaces.h
@@ -14,6 +14,10 @@
#include <asm/mipsregs.h>
+#ifndef IO_SPACE_LIMIT
+#define IO_SPACE_LIMIT 0xffff
+#endif
+
/*
* This gives the physical RAM offset.
*/