diff options
author | Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> | 2021-09-30 09:42:27 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-01 18:43:16 +0000 |
commit | 125206322d8a508261bb9ef145dc7172a87c0dd8 (patch) | |
tree | 0a5934ac67a75430429d91a1c473ddc8e486ab67 /src/mainboard/google/brya | |
parent | e06e43a83fe91639c5d7c54641bb67fb9950b47e (diff) |
mb/google/brya: move MILLIWATTS_TO_WATTS macro in header file
Move MILLIWATTS_TO_WATTS macro in power_limit header file
so all other files can use the same macro.
BUG=None
BRANCH=None
TEST=Build FW and test on brya0 board
Change-Id: Ic7ecba06b0e0a47546f7307cbfbc3ce0fc634bc3
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57463
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/ramstage.c | 2 |
1 files changed, 0 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) |