[coreboot-gerrit] New patch to review for coreboot: cpu/Kconfig: Make SMP symbol accessable to non-x86 platforms

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Wed Aug 26 01:11:06 CEST 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11339

-gerrit

commit 4b5910eb461c00c35950a5f9ed4316ef6b788ccb
Author: Martin Roth <martinroth at google.com>
Date:   Tue Aug 25 09:47:37 2015 -0600

    cpu/Kconfig: Make SMP symbol accessable to non-x86 platforms
    
    CONFIG_SMP is used in arm64 as well as x86.  Keep default
    for non-x86 platforms as N unless selected.
    
    Change-Id: Id8ac1cf3bb8efb79517fdf668538abecd47b7dd2
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 src/cpu/Kconfig | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index bfe00fe..d8ed0dc 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -4,6 +4,14 @@
 
 source "src/cpu/*/Kconfig"
 
+config SMP
+	bool
+	default y if ARCH_X86 && MAX_CPUS != 1
+	default n
+	help
+	  This option is used to enable certain functions to make coreboot
+	  work correctly on symmetric multi processor (SMP) systems.
+
 if ARCH_X86
 
 config CACHE_AS_RAM
@@ -25,14 +33,6 @@ config DCACHE_BSP_STACK_SLUSH
 config DCACHE_AP_STACK_SIZE
 	hex
 
-config SMP
-	bool
-	default y if MAX_CPUS != 1
-	default n
-	help
-	  This option is used to enable certain functions to make coreboot
-	  work correctly on symmetric multi processor (SMP) systems.
-
 config AP_SIPI_VECTOR
 	hex
 	default 0xfffff000



More information about the coreboot-gerrit mailing list