aboutsummaryrefslogtreecommitdiff
path: root/core/pldm/pldm.h
diff options
context:
space:
mode:
authorChristophe Lombard <clombard@linux.ibm.com>2023-08-29 11:24:04 +0200
committerReza Arbab <arbab@linux.ibm.com>2023-09-12 14:22:11 -0500
commitbce5ef4def3c4648fdc64e68eabf9afab382822d (patch)
tree05aa58eecf93ceccbd92b7fa76f81eeef930e0f1 /core/pldm/pldm.h
parent455b723d3dce90494355b6072bb144129e4cb361 (diff)
downloadskiboot-bce5ef4def3c4648fdc64e68eabf9afab382822d.zip
skiboot-bce5ef4def3c4648fdc64e68eabf9afab382822d.tar.gz
skiboot-bce5ef4def3c4648fdc64e68eabf9afab382822d.tar.bz2
core/pldm: Decode the GetFRURecordTableMetadata request
The GetFRURecordTableMetadata command is used to get the FRU Record Table metadata information that includes the FRU Record major version, the FRU Record minor version, the size of the largest FRU Record data, total length of the FRU Record Table, total number of FRU Record Data structures, and the integrity checksum on the FRU Record Table data. Add an "IBM, skiboot" FRU Record product requested by the BMC. Signed-off-by: Christophe Lombard <clombard@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'core/pldm/pldm.h')
-rw-r--r--core/pldm/pldm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pldm/pldm.h b/core/pldm/pldm.h
index df38ce5..bc87824 100644
--- a/core/pldm/pldm.h
+++ b/core/pldm/pldm.h
@@ -80,6 +80,9 @@ int pldm_file_io_write_file(uint32_t file_handle, uint32_t pos,
int pldm_file_io_init(void);
int pldm_fru_get_bmc_version(void *bv, int len);
+void pldm_fru_set_local_table(uint32_t *table_length,
+ uint16_t *total_record_set_identifiers,
+ uint16_t *total_table_records);
int pldm_fru_init(void);
int pldm_bios_find_lid_by_attr_name(const char *name, char **lid);