summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-06-22 12:37:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-06-22 12:37:40 +0000
commit34698e9b9e7799c3a39abd9cca8541241871f481 (patch)
tree2591f47888410fffd4f3ee4b83bdb5b0ab0dc2b1 /target
parent1d56e2e1d43a96667103ea03d9f21f7f8131e6d8 (diff)
downloadmtk-20170518-34698e9b9e7799c3a39abd9cca8541241871f481.zip
mtk-20170518-34698e9b9e7799c3a39abd9cca8541241871f481.tar.gz
mtk-20170518-34698e9b9e7799c3a39abd9cca8541241871f481.tar.bz2
swap I/O space if running in big-endian mode
SVN-Revision: 11552
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/patches/001-adm5120.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/adm5120/patches/001-adm5120.patch b/target/linux/adm5120/patches/001-adm5120.patch
index 84d0a8d..290dbd6 100644
--- a/target/linux/adm5120/patches/001-adm5120.patch
+++ b/target/linux/adm5120/patches/001-adm5120.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
-@@ -18,6 +18,20 @@
+@@ -18,6 +18,21 @@
prompt "System type"
default SGI_IP22
@@ -17,11 +17,12 @@
+ select SYS_SUPPORTS_BIG_ENDIAN
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select GENERIC_GPIO
++ select SWAP_IO_SPACE if CPU_BIG_ENDIAN
+
config MACH_ALCHEMY
bool "Alchemy processor based machines"
-@@ -683,6 +697,7 @@
+@@ -683,6 +698,7 @@
endchoice