diff options
author | Jamie Ryu <jamie.m.ryu@intel.com> | 2023-10-11 20:16:38 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-10-16 03:42:26 +0000 |
commit | 15010cd81ff0070e53383769119aab6c66702409 (patch) | |
tree | 055510025b472fb6070ee4097f52776af0914d1e /src/soc/intel/meteorlake/chip.c | |
parent | 19080a71c85eb8a62d18267f57cc1d01ba7b00dc (diff) |
mb/google/rex/var/rex: Configure cpu power limits by battery status
When battery level is below critical level or battery is not present,
cpus need to run with a power optimized configuration to avoid platform
instabilities. This will check the current battery status and configure
cpu power limits properly.
BUG=b:296952944
TEST=Build rex0 and check cpu power limits are configured with
a performance efficient configuration and the platform boots to OS if
battery level is above the critical level. And check cpu power limits
are configured with a power optimized configuration and boots to OS
without an issue if battery is not present or battery level is at or
below critical level.
Change-Id: I12fd40abda76c8e7522b06a5aee72665f32ddec8
Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78322
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/meteorlake/chip.c')
0 files changed, 0 insertions, 0 deletions