From d267987083f84253c98d0bbfd1e46cec56aa1dcd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 18 Jan 2013 15:49:00 -0800 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/2658 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- payloads/libpayload/Config.in | 5 +++++ payloads/libpayload/arch/powerpc/Config.in | 1 + payloads/libpayload/arch/x86/Config.in | 1 + 3 files changed, 7 insertions(+) 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