[adm5120] swap I/O space if running in big-endian mode
authorGabor Juhos <juhosg@openwrt.org>
Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)
SVN-Revision: 11552

target/linux/adm5120/patches/001-adm5120.patch

index 84d0a8d2fc1c8a185b33d09b458f2583882c09e6..290dbd684393624edf8d3ee66bd073bfed0ec35c 100644 (file)
@@ -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
  
 +      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