diff options
author | Christophe Lombard <clombard@linux.ibm.com> | 2023-08-29 11:23:53 +0200 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2023-09-12 14:22:11 -0500 |
commit | 49059a6e457325d3f9926f6f15446d772ab88d6a (patch) | |
tree | 1e4d8e5891783b131a12022591311320cc42888f /include | |
parent | c88e7d7751f0585ad5f0592978daa468e547602b (diff) | |
download | skiboot-49059a6e457325d3f9926f6f15446d772ab88d6a.zip skiboot-49059a6e457325d3f9926f6f15446d772ab88d6a.tar.gz skiboot-49059a6e457325d3f9926f6f15446d772ab88d6a.tar.bz2 |
core/pldm: Lid ids string parsing
This patch parses the "hb_lid_ids" string from bios tables and complete
the global list of lid files. Each entry in the list contains the name,
the id, the length of the lid file and the virtual address start access.
This virtual address is used for for PNOR Resource Provider operations.
16 MB of VMM address are reserved space per section.
Signed-off-by: Christophe Lombard <clombard@linux.ibm.com>
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/pldm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pldm.h b/include/pldm.h index 3c23dc9..9c5369e 100644 --- a/include/pldm.h +++ b/include/pldm.h @@ -5,6 +5,8 @@ #ifndef __PLDM_H__ #define __PLDM_H__ +#include <skiboot.h> + /** * Handle PLDM messages received from MCTP */ @@ -36,4 +38,9 @@ int pldm_platform_restart(void); */ int pldm_fru_dt_add_bmc_version(void); +/** + * Convert lid ids data to pnor structure + */ +int pldm_lid_files_init(struct blocklevel_device **bl); + #endif /* __PLDM_H__ */ |