[Skiboot] [PATCH] hw/imc: Add support to load imc catalog lid file

Madhavan Srinivasan maddy at linux.vnet.ibm.com
Fri Apr 6 14:53:56 AEST 2018


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 at linux.vnet.ibm.com>
---
 hw/fsp/fsp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 102fc0cf34f0..4a04d00391d0 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 },
-- 
2.7.4



More information about the Skiboot mailing list