summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-01-18 15:49:00 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-03-13 23:02:05 +0100
commitd267987083f84253c98d0bbfd1e46cec56aa1dcd (patch)
treeeff4a76a733f92dfc4754055d5d018af670a48fa
parentffc13bdb2a314046cf86489df88ed28c596f0c4f (diff)
libpayload: Make whether or not there's an IO address space configurable
Default it to no to be consistent with the other architecture wide options (endianness), and turn it on explicitly for x86 and PowerPC. Change-Id: Idda26d580156bbbf08ea11b28abe75cfa6b594b2 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/2658 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--payloads/libpayload/Config.in5
-rw-r--r--payloads/libpayload/arch/powerpc/Config.in1
-rw-r--r--payloads/libpayload/arch/x86/Config.in1
3 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/Config.in b/payloads/libpayload/Config.in
index 0a6fbe8ea3..377b7bafb6 100644
--- a/payloads/libpayload/Config.in
+++ b/payloads/libpayload/Config.in
@@ -410,4 +410,9 @@ config LITTLE_ENDIAN
default n
bool
+# Whether the target system has an IO address space.
+config IO_ADDRESS_SPACE
+ default n
+ bool
+
source "arch/Config.in"
diff --git a/payloads/libpayload/arch/powerpc/Config.in b/payloads/libpayload/arch/powerpc/Config.in
index eb2faa1969..f64f0066f9 100644
--- a/payloads/libpayload/arch/powerpc/Config.in
+++ b/payloads/libpayload/arch/powerpc/Config.in
@@ -32,5 +32,6 @@ if ARCH_POWERPC
config ARCH_SPECIFIC_OPTIONS # dummy
def_bool y
select BIG_ENDIAN
+ select IO_ADDRESS_SPACE
endif
diff --git a/payloads/libpayload/arch/x86/Config.in b/payloads/libpayload/arch/x86/Config.in
index f4bd8822e4..4a5e6bd88e 100644
--- a/payloads/libpayload/arch/x86/Config.in
+++ b/payloads/libpayload/arch/x86/Config.in
@@ -32,5 +32,6 @@ if ARCH_X86
config ARCH_SPECIFIC_OPTIONS # dummy
def_bool y
select LITTLE_ENDIAN
+ select IO_ADDRESS_SPACE
endif