diff options
author | Subrata Banik <subratabanik@google.com> | 2023-11-29 00:25:58 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-12-02 18:03:52 +0000 |
commit | faf277995999179794d0a571ffc02faaee363c79 (patch) | |
tree | 8e7cb9be40d5da9c398a469be951da0def945d51 /src/drivers/uart/uart8250mem.c | |
parent | 73c918c59025e504c9a1d6f697646d5dd63e828e (diff) |
mb/google/rex: Enhance power limit override mechanism
This patch expands the power limit override capability to include
variants directories, enabling them to modify power limit settings
configured by the baseboard.
Previously, only the baseboard could override power limit settings.
For instance, while the google/rex baseboard sets the PL1 max power
limit to 15W, the google/screebo variant couldn't override this value.
This enhancement empowers variants directories to override baseboard-
configured power limit settings, allowing for greater flexibility and
control over power limits.
BUG=b:313667378
TEST=Able to call into _weak implementation of `variant_devtree_update`
unless there is one override.
[DEBUG] WEAK: src/mainboard/google/rex/variants/baseboard/rex/
ramstage.c/variant_devtree_update called
[INFO ] Overriding power limits PL1 (mW) (10000, 15000) PL2 (mW)
(40000, 40000) PL4 (W) (84)
Change-Id: Ib07691625e075b0fbab42271512322ffc60ba13b
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79329
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/drivers/uart/uart8250mem.c')
0 files changed, 0 insertions, 0 deletions