[coreboot] Patch set updated for coreboot: 7c356b3 ACPI: mark empty get_cst_entries() weak

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sat Jan 7 12:05:54 CET 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/496

-gerrit

commit 7c356b38ef762b2187f7f81e7c990d8409fadd14
Author: Sven Schnelle <svens at stackframe.org>
Date:   Fri Dec 23 10:29:09 2011 +0100

    ACPI: mark empty get_cst_entries() weak
    
    This function prevents the linker from choosing the right
    get_cst_entries(), preventing writing the _CST tables.
    
    Change-Id: I4bc0168aee110171faeaa081f217dfd1536bb821
    Signed-off-by: Sven Schnelle <svens at stackframe.org>
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 src/cpu/intel/speedstep/acpi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 8f32e4f..00c4ae9 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -62,7 +62,7 @@ static int get_fsb(void)
 	return 200;
 }
 
-int get_cst_entries(struct cst_entry **entries __attribute__((unused)))
+int __attribute__((weak)) get_cst_entries(struct cst_entry **entries __attribute__((unused)))
 {
 	return 0;
 }




More information about the coreboot mailing list