From 5fbfc911c159dc449d3955367908c5443f23ca19 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 Jul 2013 13:52:37 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/3760 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/armv7/Kconfig | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/arch/armv7/Kconfig') diff --git a/src/arch/armv7/Kconfig b/src/arch/armv7/Kconfig index 633c5ef98d..130acb44e7 100644 --- a/src/arch/armv7/Kconfig +++ b/src/arch/armv7/Kconfig @@ -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 @@ -32,12 +39,4 @@ config UPDATE_IMAGE is a suitable file for further processing. The bootblock will not be modified. -config HAVE_ARCH_MEMSET - bool - default y - -config HAVE_ARCH_MEMCPY - bool - default y - endmenu -- cgit v1.2.3