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. BUG=None TEST=Built and booted on Link and Snow. BRANCH=None Change-Id: I1711efa699ddf31d29ebc672bd3728b472c26bb7 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/61072 Reviewed-by: Ronald G. Minnich <rminnich@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
0522391083
commit
2186a22ef2
3 changed files with 21 additions and 8 deletions
|
|
@ -236,6 +236,14 @@ if ARCH_ARMV7
|
|||
source src/arch/armv7/Kconfig
|
||||
endif
|
||||
|
||||
config HAVE_ARCH_MEMSET
|
||||
bool
|
||||
default n
|
||||
|
||||
config HAVE_ARCH_MEMCPY
|
||||
bool
|
||||
default n
|
||||
|
||||
menu "Chipset"
|
||||
|
||||
comment "CPU"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
menu "Architecture (armv7)"
|
||||
|
||||
|
||||
config ARM_ARCH_OPTIONS
|
||||
bool
|
||||
default y
|
||||
select HAVE_ARCH_MEMSET
|
||||
select HAVE_ARCH_MEMCPY
|
||||
|
||||
# Maximum reboot count
|
||||
# TODO: Improve description.
|
||||
config MAX_REBOOT_CNT
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -94,14 +100,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue