summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/ramstage.c2
-rw-r--r--src/soc/intel/common/block/include/intelblocks/power_limit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/ramstage.c b/src/mainboard/google/brya/variants/baseboard/brya/ramstage.c
index 1328213e29..9c2d4aa0b7 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/ramstage.c
+++ b/src/mainboard/google/brya/variants/baseboard/brya/ramstage.c
@@ -9,8 +9,6 @@
#include <drivers/intel/dptf/chip.h>
#include <intelblocks/power_limit.h>
-#define MILLIWATTS_TO_WATTS 1000
-
WEAK_DEV_PTR(dptf_policy);
void variant_update_power_limits(const struct cpu_power_limits *limits, size_t num_entries)
diff --git a/src/soc/intel/common/block/include/intelblocks/power_limit.h b/src/soc/intel/common/block/include/intelblocks/power_limit.h
index 934eaa4be7..3f18126e9b 100644
--- a/src/soc/intel/common/block/include/intelblocks/power_limit.h
+++ b/src/soc/intel/common/block/include/intelblocks/power_limit.h
@@ -15,6 +15,8 @@
/* Default power limit value in secs */
#define MOBILE_SKU_PL1_TIME_SEC 28
+#define MILLIWATTS_TO_WATTS 1000
+
struct soc_power_limits_config {
/* PL1 Override value in Watts */
uint16_t tdp_pl1_override;