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>
This commit is contained in:
Gabe Black 2013-01-18 15:49:00 -08:00 committed by Ronald G. Minnich
parent ffc13bdb2a
commit d267987083
3 changed files with 7 additions and 0 deletions

View File

@ -410,4 +410,9 @@ config LITTLE_ENDIAN
default n default n
bool bool
# Whether the target system has an IO address space.
config IO_ADDRESS_SPACE
default n
bool
source "arch/Config.in" source "arch/Config.in"

View File

@ -32,5 +32,6 @@ if ARCH_POWERPC
config ARCH_SPECIFIC_OPTIONS # dummy config ARCH_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select BIG_ENDIAN select BIG_ENDIAN
select IO_ADDRESS_SPACE
endif endif

View File

@ -32,5 +32,6 @@ if ARCH_X86
config ARCH_SPECIFIC_OPTIONS # dummy config ARCH_SPECIFIC_OPTIONS # dummy
def_bool y def_bool y
select LITTLE_ENDIAN select LITTLE_ENDIAN
select IO_ADDRESS_SPACE
endif endif