diff options
author | Subrata Banik <subratabanik@google.com> | 2023-11-29 01:05:58 +0530 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-12-04 15:50:55 +0000 |
commit | 70770ebd36621715234ca6c427caa039ea4cd4f7 (patch) | |
tree | 1b3fad5ce3b6245217d2a0bfd15273a2a10f44e2 /src/mainboard/emulation/spike-riscv/memlayout.ld | |
parent | 72d616c22c59c6f979afef7fa613f2d2c0f86731 (diff) |
mb/google/rex: Simplify power limit configuration usage
This patch removes the deprecated PL_PERFORMANCE and PL_BASELINE
configurations, relying instead on the refactored power limit flow.
This flow allows for seamless overrides by the baseboard and/or by
the variant board, if necessary.
Specifically, this patch:
- Removes PL_PERFORMANCE and PL_BASELINE configuration options from
mainboard.c in the google/rex directory.
- Relies on the baseboard_devtree_update() function, which is
implemented by the respective baseboard, to handle power limit
configuration.
- Leverages the variant_devtree_update() function, which is a
__weak implementation, to allow overrides by the variant directory.
This simplification improves code readability and maintainability while
maintaining the flexibility to handle power limit configurations as
needed.
Change-Id: I872e5cb59d7b2789ef517d4a090189785db46b85
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79331
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/spike-riscv/memlayout.ld')
0 files changed, 0 insertions, 0 deletions