[adm5120] swap I/O space if running in big-endian mode
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11552 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 84d0a8d..290dbd6 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
  
This page took 0.026384 seconds and 4 git commands to generate.