aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120
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
commitb34da584efbe5108d33a0eabb45a47399927aa39 (patch)
tree3af4aea38f4839a5f850d65eb8ee278f84864ca4 /target/linux/adm5120
parent4f48309764f469bac17d4f7d7f3179c122d0040c (diff)
downloadmaster-187ad058-b34da584efbe5108d33a0eabb45a47399927aa39.tar.gz
master-187ad058-b34da584efbe5108d33a0eabb45a47399927aa39.tar.bz2
master-187ad058-b34da584efbe5108d33a0eabb45a47399927aa39.zip
[adm5120] swap I/O space if running in big-endian mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11552 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120')
-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 84d0a8d2fc..290dbd6843 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