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
AG_COMPNT_BIC
,
26
AG_COMPNT_OSFP_P3V3
,
27
AG_COMPNT_CPU_P0V85_PVDD
,
28
AG_COMPNT_CPU_P0V75_PVDD_CH_N
,
29
AG_COMPNT_CPU_P0V75_PVDD_CH_S
,
30
AG_COMPNT_CPU_P0V75_TRVDD_ZONEA
,
31
AG_COMPNT_CPU_P0V75_TRVDD_ZONEB
,
32
AG_COMPNT_CPU_P1V1_VDDC_HBM0_2_4
,
33
AG_COMPNT_CPU_P0V9_TRVDD_ZONEA
,
34
AG_COMPNT_CPU_P0V9_TRVDD_ZONEB
,
35
AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5
,
36
AG_COMPNT_CPU_P0V8_VDDA_PCIE
,
37
};
38
39
void
load_pldmupdate_comp_config
(
void
);
40
void
clear_pending_version
(uint8_t activate_method);
41
bool
find_sensor_id_and_name_by_firmware_comp_id
(uint8_t
comp_identifier
, uint8_t *
sensor_id
,
42
char
*sensor_name);
43
int
get_aegis_vr_compnt_mapping_sensor_table_count
(
void
);
44
45
#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:77
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:623
get_aegis_vr_compnt_mapping_sensor_table_count
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
@ AG_COMPNT_CPU_P1V1_VDDC_HBM0_2_4
Definition:
plat_pldm_fw_update.h:32
AG_COMPNT_BIC
@ AG_COMPNT_BIC
Definition:
plat_pldm_fw_update.h:25
AG_COMPNT_CPU_P0V9_TRVDD_ZONEA
@ AG_COMPNT_CPU_P0V9_TRVDD_ZONEA
Definition:
plat_pldm_fw_update.h:33
AG_COMPNT_CPU_P0V8_VDDA_PCIE
@ AG_COMPNT_CPU_P0V8_VDDA_PCIE
Definition:
plat_pldm_fw_update.h:36
AG_COMPNT_CPU_P0V9_TRVDD_ZONEB
@ AG_COMPNT_CPU_P0V9_TRVDD_ZONEB
Definition:
plat_pldm_fw_update.h:34
AG_COMPNT_CPU_P0V75_PVDD_CH_S
@ AG_COMPNT_CPU_P0V75_PVDD_CH_S
Definition:
plat_pldm_fw_update.h:29
AG_COMPNT_CPU_P0V75_TRVDD_ZONEB
@ AG_COMPNT_CPU_P0V75_TRVDD_ZONEB
Definition:
plat_pldm_fw_update.h:31
AG_COMPNT_CPU_P0V85_PVDD
@ AG_COMPNT_CPU_P0V85_PVDD
Definition:
plat_pldm_fw_update.h:27
AG_COMPNT_CPU_P0V75_TRVDD_ZONEA
@ AG_COMPNT_CPU_P0V75_TRVDD_ZONEA
Definition:
plat_pldm_fw_update.h:30
AG_COMPNT_CPU_P0V75_PVDD_CH_N
@ AG_COMPNT_CPU_P0V75_PVDD_CH_N
Definition:
plat_pldm_fw_update.h:28
AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5
@ AG_COMPNT_CPU_P1V1_VDDC_HBM1_3_5
Definition:
plat_pldm_fw_update.h:35
AG_COMPNT_OSFP_P3V3
@ AG_COMPNT_OSFP_P3V3
Definition:
plat_pldm_fw_update.h:26
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
meta-facebook
minerva-ag
src
platform
plat_pldm_fw_update.h
Generated by
1.9.2