[coreboot-gerrit] New patch to review for coreboot: af32973 speedstep: Don't supply weak get_cst_entries.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Nov 9 13:00:54 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7368

-gerrit

commit af3297388de287f45ae90b0c0278de244cc17cbc
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Nov 9 12:59:29 2014 +0100

    speedstep: Don't supply weak get_cst_entries.
    
    This shouls be overriden by mobo even if it's no-op override.
    weak function in this case would only hide real problems.
    
    Change-Id: I30dd671eb605b490a51153d00ae308c4bdef3d05
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/cpu/intel/speedstep/acpi.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c
index 8a2bff1..0217f71 100644
--- a/src/cpu/intel/speedstep/acpi.c
+++ b/src/cpu/intel/speedstep/acpi.c
@@ -29,19 +29,6 @@
 #include <cpu/intel/speedstep.h>
 #include <device/device.h>
 
-/**
- * @brief Returns c-state entries for this system
- *
- * This function is usually overwritten in mainboard code.
- *
- * @return Number of c-states *entries will point to.
- */
-int __attribute__((weak)) get_cst_entries(acpi_cstate_t **entries
-					  __attribute__((unused)))
-{
-	return 0;
-}
-
 static int determine_total_number_of_cores(void)
 {
 	struct device *cpu;



More information about the coreboot-gerrit mailing list