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
29};
30
32void clear_pending_version(uint8_t activate_method);
34 char *sensor_name);
36
37#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:78
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:648
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
@ SI_COMPNT_BIC
Definition: plat_pldm_fw_update.h:25
@ SI_COMPNT_PCIE_SWITCH
Definition: plat_pldm_fw_update.h:28
@ SI_COMPNT_P0V895_PEX
Definition: plat_pldm_fw_update.h:26
@ SI_COMPNT_P0V825_A1
Definition: plat_pldm_fw_update.h:27
int get_si_vr_compnt_mapping_sensor_table_count(void)
Definition: plat_pldm_fw_update.c:499