summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-07-07 13:52:37 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-07-11 17:55:36 +0200
commit5fbfc911c159dc449d3955367908c5443f23ca19 (patch)
treec0e15ed5cae0686ad48075d81ea8152138d3fbf4 /src/arch/x86
parentdb02069d71af6adca96ff432ed0efd7218c076f3 (diff)
Move the HAVE_ARCH_* config options from src/arch/x86 to src/.
The options that keep track of whether there are arch versions of the standard string functions shouldn't be in the arch/x86 directory since they apply to all architectures. Move them into the higher level, shared Kconfig defaulting to off. Then, in each applicable arch (currently all of them) they can be selected to on. Change-Id: I7ea64a583230fdc28773f17fd7cc23e0f0a5f3d6 Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3760 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/Kconfig14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 95fc172695..287e2bcef0 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -1,5 +1,11 @@
menu "Architecture (x86)"
+config X86_ARCH_OPTIONS
+ bool
+ default y
+ select HAVE_ARCH_MEMSET
+ select HAVE_ARCH_MEMCPY
+
config MARK_GRAPHICS_MEM_WRCOMB
bool "Mark graphics memory as write-combining."
default n
@@ -95,14 +101,6 @@ config CMOS_DEFAULT_FILE
config BOOTBLOCK_SOUTHBRIDGE_INIT
string
-config HAVE_ARCH_MEMSET
- bool
- default y
-
-config HAVE_ARCH_MEMCPY
- bool
- default y
-
config IOAPIC_INTERRUPTS_ON_FSB
bool
default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS