OpenBIC
OpenSource Bridge-IC
plat_pldm_fw_update.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef _PLAT_FWUPDATE_H_
18#define _PLAT_FWUPDATE_H_
19
20#include <stdbool.h>
21#include <stdint.h>
23
37};
38
40void clear_pending_version(uint8_t activate_method);
42 char *sensor_name);
44
45#endif /* _PLAT_FWUPDATE_H_ */
void clear_pending_version(uint8_t activate_method)
Definition: plat_pldm_fw_update.c:769
void load_pldmupdate_comp_config(void)
Definition: pldm_firmware_update.c:77
bool find_sensor_id_and_name_by_firmware_comp_id(uint8_t comp_identifier, uint8_t *sensor_id, char *sensor_name)
Definition: plat_pldm_fw_update.c:623
int get_aegis_vr_compnt_mapping_sensor_table_count(void)
Definition: plat_pldm_fw_update.c:641
@ AG_COMPNT_CPU_P1V1_VDDC_HBM0_2_4
Definition: plat_pldm_fw_update.h:32
@ AG_COMPNT_BIC
Definition: plat_pldm_fw_update.h:25
@ AG_COMPNT_CPU_P0V9_TRVDD_ZONEA
Definition: plat_pldm_fw_update.h:33
@ AG_COMPNT_CPU_P0V8_VDDA_PCIE
Definition: plat_pldm_fw_update.h:36
@ AG_COMPNT_CPU_P0V9_TRVDD_ZONEB
Definition: plat_pldm_fw_update.h:34
@ AG_COMPNT_CPU_P0V75_PVDD_CH_S
Definition: plat_pldm_fw_update.h:29
@ AG_COMPNT_CPU_P0V75_TRVDD_ZONEB
Definition: plat_pldm_fw_update.h:31
@ AG_COMPNT_CPU_P0V85_PVDD
Definition: plat_pldm_fw_update.h:27
@ AG_COMPNT_CPU_P0V75_TRVDD_ZONEA
Definition: plat_pldm_fw_update.h:30
@ AG_COMPNT_CPU_P0V75_PVDD_CH_N
Definition: plat_pldm_fw_update.h:28
@ AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5
Definition: plat_pldm_fw_update.h:35
@ AG_COMPNT_OSFP_P3V3
Definition: plat_pldm_fw_update.h:26
FIRMWARE_COMPONENT
Definition: oem_1s_handler.h:29
uint16_t comp_identifier
Definition: pldm_firmware_update.h:2
uint16_t sensor_id
Definition: pldm_monitor.h:0