diff mbox series

hw/imc: Add support to load imc catalog lid file

Message ID 1522990436-4654-1-git-send-email-maddy@linux.vnet.ibm.com
State Accepted
Headers show
Series hw/imc: Add support to load imc catalog lid file | expand

Commit Message

maddy April 6, 2018, 4:53 a.m. UTC
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>
---
 hw/fsp/fsp.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Stewart Smith April 10, 2018, 6:31 a.m. UTC | #1
Madhavan Srinivasan <maddy@linux.vnet.ibm.com> writes:
> 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>
> ---
>  hw/fsp/fsp.c | 3 +++
>  1 file changed, 3 insertions(+)

Thanks, merged to master as of 63594b03b85941445ef4865ee462b5427b618c46
diff mbox series

Patch

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 },