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>
22
#include "
pldm_firmware_update.h
"
23
24
enum
FIRMWARE_COMPONENT
{
25
SI_COMPNT_BIC
,
26
SI_COMPNT_P0V895_PEX
,
27
SI_COMPNT_P0V825_A1
,
28
SI_COMPNT_PCIE_SWITCH
,
29
};
30
31
void
load_pldmupdate_comp_config
(
void
);
32
void
clear_pending_version
(uint8_t activate_method);
33
bool
find_sensor_id_and_name_by_firmware_comp_id
(uint8_t
comp_identifier
, uint8_t *
sensor_id
,
34
char
*sensor_name);
35
int
get_si_vr_compnt_mapping_sensor_table_count
(
void
);
36
37
#endif
/* _PLAT_FWUPDATE_H_ */
clear_pending_version
void clear_pending_version(uint8_t activate_method)
Definition:
plat_pldm_fw_update.c:769
load_pldmupdate_comp_config
void load_pldmupdate_comp_config(void)
Definition:
pldm_firmware_update.c:78
find_sensor_id_and_name_by_firmware_comp_id
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
FIRMWARE_COMPONENT
Definition:
oem_1s_handler.h:29
pldm_firmware_update.h
comp_identifier
uint16_t comp_identifier
Definition:
pldm_firmware_update.h:2
sensor_id
uint16_t sensor_id
Definition:
pldm_monitor.h:0
SI_COMPNT_BIC
@ SI_COMPNT_BIC
Definition:
plat_pldm_fw_update.h:25
SI_COMPNT_PCIE_SWITCH
@ SI_COMPNT_PCIE_SWITCH
Definition:
plat_pldm_fw_update.h:28
SI_COMPNT_P0V895_PEX
@ SI_COMPNT_P0V895_PEX
Definition:
plat_pldm_fw_update.h:26
SI_COMPNT_P0V825_A1
@ SI_COMPNT_P0V825_A1
Definition:
plat_pldm_fw_update.h:27
get_si_vr_compnt_mapping_sensor_table_count
int get_si_vr_compnt_mapping_sensor_table_count(void)
Definition:
plat_pldm_fw_update.c:499
meta-facebook
sb-si
src
platform
plat_pldm_fw_update.h
Generated by
1.9.2