From: juhosg Date: Sun, 22 Jun 2008 12:37:40 +0000 (+0000) Subject: [adm5120] swap I/O space if running in big-endian mode X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=2748e1031df0c0e3e278d225e0ccc546d969a968;p=10.03%2Fopenwrt.git [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 --- diff --git a/target/linux/adm5120/patches/001-adm5120.patch b/target/linux/adm5120/patches/001-adm5120.patch index 84d0a8d2f..290dbd684 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