[coreboot] Patch set updated for coreboot: 0b00a17 ACPI: mark empty get_cst_entries() weak
Sven Schnelle (svens@stackframe.org)
gerrit at coreboot.org
Mon Jan 9 10:55:48 CET 2012
Sven Schnelle (svens at stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/496
-gerrit
commit 0b00a17cc8276a4ebfbe645d5e66888460b75327
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/arch/x86/include/arch/acpigen.h | 2 +-
src/cpu/intel/speedstep/acpi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index 0833371..9dc9675 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -66,6 +66,6 @@ int acpigen_write_resourcetemplate_footer(int len);
int acpigen_write_mainboard_resource_template(void);
int acpigen_write_mainboard_resources(const char *scope, const char *name);
-int get_cst_entries(struct cst_entry **) __attribute__((weak));
+int get_cst_entries(struct cst_entry **);
#endif
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