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:
parent
351fefc452
commit
8ac29e89b6
|
@ -28,19 +28,6 @@
|
||||||
#include <cpu/intel/speedstep.h>
|
#include <cpu/intel/speedstep.h>
|
||||||
#include <device/device.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)
|
static int determine_total_number_of_cores(void)
|
||||||
{
|
{
|
||||||
struct device *cpu;
|
struct device *cpu;
|
||||||
|
|
|
@ -17,3 +17,4 @@
|
||||||
## Foundation, Inc.
|
## Foundation, Inc.
|
||||||
##
|
##
|
||||||
|
|
||||||
|
ramstage-y += cstates.c
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -1 +1,2 @@
|
||||||
ramstage-y += superio_hwm.c
|
ramstage-y += superio_hwm.c
|
||||||
|
ramstage-y += cstates.c
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
ramstage-y += cstates.c
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
ramstage-y += cstates.c
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
ramstage-y += cstates.c
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
ramstage-y += cstates.c
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
|
@ -18,3 +18,4 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
ramstage-y += m3885.c
|
ramstage-y += m3885.c
|
||||||
|
ramstage-y += cstates.c
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <device/device.h>
|
||||||
|
#include <arch/x86/include/arch/acpigen.h>
|
||||||
|
|
||||||
|
int get_cst_entries(acpi_cstate_t **entries)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue