diff options
author | Sowmya Aralguppe <sowmya.aralguppe@intel.com> | 2024-09-17 10:04:32 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-09-19 22:37:15 +0000 |
commit | 0aa854f96ba570304fa83f010c3fcf7b04bf8376 (patch) | |
tree | a5bbe2858dad3a5b23ab37f01c1266adcca7b747 /src/mainboard/google/brox/variants/baseboard/include | |
parent | ec3a0d674e0636b9323b257a89a74fc20cb043d9 (diff) |
mb/google/brox: Remove psys related implementation
psys is not an optimal solution for no/low battery boot. Hence remove
function and macros related to psys implementation.
BUG=b:335046538
BRANCH=None
TEST=Build and boot on brox board
Change-Id: I6c0e9561367b5846b00be27012f002dd7c299414
Signed-off-by: Sowmya Aralguppe <sowmya.aralguppe@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84397
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Ashish Kumar Mishra <ashish.k.mishra@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brox/variants/baseboard/include')
-rw-r--r-- | src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h index ad8eb05833..d04a793ec2 100644 --- a/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/brox/variants/baseboard/include/baseboard/variants.h @@ -51,39 +51,11 @@ struct cpu_power_limits { struct system_power_limits { uint16_t mchid; u8 cpu_tdp; - /* PsysPL2 in Watts */ - unsigned int psys_pl2_power; -}; - -struct psys_config { - /* - * The efficiency of type-c chargers - * For example, 'efficiency = 97' means setting 97% of max power to account for - * cable loss and FET Rdson loss in the path from the source. - */ - unsigned int efficiency; - - /* The maximum current maps to the Psys signal */ - unsigned int psys_imax_ma; - - /* The voltage of barrel jack */ - unsigned int bj_volts_mv; }; /* Modify Power Limit devictree settings during ramstage */ void variant_update_power_limits(const struct cpu_power_limits *limits, size_t num_entries); - - -/* - * Modify Power Limit and PsysPL devictree settings during ramstage. - * Note, this function must be called in front of calling variant_update_power_limits. - */ -void variant_update_psys_power_limits(const struct cpu_power_limits *limits, - const struct system_power_limits *sys_limits, - size_t num_entries, - const struct psys_config *config); - void variant_init(void); void variant_finalize(void); |