[coreboot] New patch to review for coreboot: 7ec68b8 secondary.S: Fix dropping ramstage.a

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Nov 16 02:27:26 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1863

-gerrit

commit 7ec68b8a600ac6396324eef780bfdc616feb6ab4
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Thu Nov 15 15:53:30 2012 -0800

    secondary.S: Fix dropping ramstage.a
    
    This unused code was not silently dropped as before.
    
    Change-Id: Ic76c58e233869a60c3a8a27c2efc2182b3a4442d
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/cpu/x86/lapic/secondary.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cpu/x86/lapic/secondary.S b/src/cpu/x86/lapic/secondary.S
index 045454e..2e0620e 100644
--- a/src/cpu/x86/lapic/secondary.S
+++ b/src/cpu/x86/lapic/secondary.S
@@ -1,6 +1,7 @@
 #include <cpu/x86/mtrr.h>
 #include <cpu/x86/lapic_def.h>
 
+#if CONFIG_SMP && CONFIG_MAX_CPUS > 1
 	.text
 	.globl _secondary_start, _secondary_start_end
 	.balign 4096
@@ -62,3 +63,4 @@ __ap_protected_start:
 	jmp	1b
 
 .code32
+#endif




More information about the coreboot mailing list