speedstep: Don't supply weak get_cst_entries.
This should 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@gmail.com> Reviewed-on: http://review.coreboot.org/7368 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@ -28,19 +28,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;
|
||||
|
Reference in New Issue
Block a user