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
enum
FIRMWARE_COMPONENT
{
21
COMPNT_BIC
,
22
COMPNT_VR_1
,
23
COMPNT_VR_2
,
24
COMPNT_VR_3
,
25
COMPNT_VR_4
,
26
COMPNT_VR_5
,
27
COMPNT_VR_6
,
28
COMPNT_VR_7
,
29
COMPNT_VR_8
,
30
COMPNT_VR_9
,
31
COMPNT_VR_10
,
32
COMPNT_VR_11
,
33
COMPNT_VR_12
,
34
};
35
36
bool
find_sensor_id_and_name_by_firmware_comp_id
(uint8_t
comp_identifier
, uint8_t *
sensor_id
,
37
char
*sensor_name);
38
39
#endif
/* _PLAT_FWUPDATE_H_ */
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
comp_identifier
uint16_t comp_identifier
Definition:
pldm_firmware_update.h:2
sensor_id
uint16_t sensor_id
Definition:
pldm_monitor.h:0
COMPNT_VR_7
@ COMPNT_VR_7
Definition:
plat_pldm_fw_update.h:28
COMPNT_VR_3
@ COMPNT_VR_3
Definition:
plat_pldm_fw_update.h:24
COMPNT_VR_12
@ COMPNT_VR_12
Definition:
plat_pldm_fw_update.h:33
COMPNT_VR_1
@ COMPNT_VR_1
Definition:
plat_pldm_fw_update.h:22
COMPNT_VR_2
@ COMPNT_VR_2
Definition:
plat_pldm_fw_update.h:23
COMPNT_VR_8
@ COMPNT_VR_8
Definition:
plat_pldm_fw_update.h:29
COMPNT_VR_4
@ COMPNT_VR_4
Definition:
plat_pldm_fw_update.h:25
COMPNT_VR_5
@ COMPNT_VR_5
Definition:
plat_pldm_fw_update.h:26
COMPNT_BIC
@ COMPNT_BIC
Definition:
plat_pldm_fw_update.h:21
COMPNT_VR_6
@ COMPNT_VR_6
Definition:
plat_pldm_fw_update.h:27
COMPNT_VR_11
@ COMPNT_VR_11
Definition:
plat_pldm_fw_update.h:32
COMPNT_VR_10
@ COMPNT_VR_10
Definition:
plat_pldm_fw_update.h:31
COMPNT_VR_9
@ COMPNT_VR_9
Definition:
plat_pldm_fw_update.h:30
meta-facebook
sb-rb
src
platform
plat_pldm_fw_update.h
Generated by
1.9.2