MIPS: add Kconfig option for CONFIG_SWAP_IO_SPACE
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 18 Jan 2015 21:00:18 +0000 (22:00 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Jan 2015 13:06:51 +0000 (14:06 +0100)
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/Kconfig
include/configs/malta.h

index d87cbb4637dc319167b7b3cb49156b1226f1d0af..ef7892975a72998cf36f56699e6de40046566d7f 100644 (file)
@@ -29,6 +29,7 @@ config TARGET_MALTA
        select SUPPORTS_LITTLE_ENDIAN
        select SUPPORTS_CPU_MIPS32_R1
        select SUPPORTS_CPU_MIPS32_R2
+       select SWAP_IO_SPACE
 
 config TARGET_VCT
        bool "Support vct"
@@ -181,6 +182,9 @@ config 32BIT
 config 64BIT
        bool
 
+config SWAP_IO_SPACE
+       bool
+
 endif
 
 endmenu
index a29b86b4f63c95fe5110f901ca52891c315fa4a2..684d24959033403710c0d4e13d0e0bb4024915ec 100644 (file)
@@ -38,8 +38,6 @@
 #define CONFIG_SYS_MHZ                 250     /* arbitrary value */
 #define CONFIG_SYS_MIPS_TIMER_FREQ     (CONFIG_SYS_MHZ * 1000000)
 
-#define CONFIG_SWAP_IO_SPACE
-
 /*
  * Memory map
  */