swap I/O space if running in big-endian mode

SVN-Revision: 11552
This commit is contained in:
Gabor Juhos 2008-06-22 12:37:40 +00:00
parent 1d56e2e1d4
commit 34698e9b9e

View 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
@ -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