summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2018-04-06 10:23:56 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-04-10 15:38:33 +1000
commit63594b03b85941445ef4865ee462b5427b618c46 (patch)
tree948f9b8dc02c2c76af890afae1c8ccad2d1194c0
parente6bca4a0aa985920e985e3a654f4740347ebbf0e (diff)
downloadtalos-skiboot-63594b03b85941445ef4865ee462b5427b618c46.tar.gz
talos-skiboot-63594b03b85941445ef4865ee462b5427b618c46.zip
hw/imc: Add support to load imc catalog lid file
Add support to load the imc catalog from a lid file packaged as part of the system firmware. Lid number allocated is 0x80f00103.lid. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--hw/fsp/fsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 102fc0cf..4a04d003 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -2364,6 +2364,8 @@ int fsp_fetch_data_queue(uint8_t flags, uint16_t id, uint32_t sub_id,
#define CAPP_IDX_NIMBUS_DD21 0x201d1
#define CAPP_IDX_NIMBUS_DD22 0x202d1
+#define IMA_CATALOG_NIMBUS 0x4e0200
+
static struct {
enum resource_id id;
uint32_t idx;
@@ -2371,6 +2373,7 @@ static struct {
} fsp_lid_map[] = {
{ RESOURCE_ID_KERNEL, RESOURCE_SUBID_NONE, KERNEL_LID_OPAL },
{ RESOURCE_ID_INITRAMFS,RESOURCE_SUBID_NONE, INITRAMFS_LID_OPAL },
+ { RESOURCE_ID_IMA_CATALOG,IMA_CATALOG_NIMBUS, 0x80f00103 },
{ RESOURCE_ID_CAPP, CAPP_IDX_MURANO_DD20, 0x80a02002 },
{ RESOURCE_ID_CAPP, CAPP_IDX_MURANO_DD21, 0x80a02001 },
{ RESOURCE_ID_CAPP, CAPP_IDX_VENICE_DD10, 0x80a02003 },
OpenPOWER on IntegriCloud