diff mbox series

capp: Add lid definitions for P9 DD-2.0 & DD-2.1

Message ID 20171003154941.11773-1-vaibhav@linux.vnet.ibm.com
State Superseded
Headers show
Series capp: Add lid definitions for P9 DD-2.0 & DD-2.1 | expand

Commit Message

Vaibhav Jain Oct. 3, 2017, 3:49 p.m. UTC
Update fsp_lid_map to include CAPP ucode lids for phb4-chipid ==
0x200d1 and phb4-chipid == 0x201d1 that corresponds to P9 DD-2.0 &
DD-2.1 chips respectively.

Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
---
 hw/fsp/fsp.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Andrew Donnellan Oct. 3, 2017, 11:19 p.m. UTC | #1
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

On 04/10/17 02:49, Vaibhav Jain wrote:
> Update fsp_lid_map to include CAPP ucode lids for phb4-chipid ==
> 0x200d1 and phb4-chipid == 0x201d1 that corresponds to P9 DD-2.0 &
> DD-2.1 chips respectively.
> 
> Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
> ---
>   hw/fsp/fsp.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
> index 4d173978..f9411f58 100644
> --- a/hw/fsp/fsp.c
> +++ b/hw/fsp/fsp.c
> @@ -2357,6 +2357,8 @@ int fsp_fetch_data_queue(uint8_t flags, uint16_t id, uint32_t sub_id,
>   #define CAPP_IDX_MURANO_DD21 0x201ef
>   #define CAPP_IDX_NAPLES_DD10 0x100d3
>   #define CAPP_IDX_NIMBUS_DD10 0x100d1
> +#define CAPP_IDX_NIMBUS_DD20 0x200d1
> +#define CAPP_IDX_NIMBUS_DD21 0x201d1
>   
>   static struct {
>   	enum resource_id	id;
> @@ -2371,6 +2373,8 @@ static struct {
>   	{ RESOURCE_ID_CAPP,	CAPP_IDX_VENICE_DD20,	0x80a02004 },
>   	{ RESOURCE_ID_CAPP,	CAPP_IDX_NAPLES_DD10,	0x80a02005 },
>   	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD10,	0x80a02006 },
> +	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD20,	0x80a02007 },
> +	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD21,	0x80a02008 },
>   };
>   
>   static void fsp_start_fetching_next_lid(void);
>
diff mbox series

Patch

diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 4d173978..f9411f58 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -2357,6 +2357,8 @@  int fsp_fetch_data_queue(uint8_t flags, uint16_t id, uint32_t sub_id,
 #define CAPP_IDX_MURANO_DD21 0x201ef
 #define CAPP_IDX_NAPLES_DD10 0x100d3
 #define CAPP_IDX_NIMBUS_DD10 0x100d1
+#define CAPP_IDX_NIMBUS_DD20 0x200d1
+#define CAPP_IDX_NIMBUS_DD21 0x201d1
 
 static struct {
 	enum resource_id	id;
@@ -2371,6 +2373,8 @@  static struct {
 	{ RESOURCE_ID_CAPP,	CAPP_IDX_VENICE_DD20,	0x80a02004 },
 	{ RESOURCE_ID_CAPP,	CAPP_IDX_NAPLES_DD10,	0x80a02005 },
 	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD10,	0x80a02006 },
+	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD20,	0x80a02007 },
+	{ RESOURCE_ID_CAPP,	CAPP_IDX_NIMBUS_DD21,	0x80a02008 },
 };
 
 static void fsp_start_fetching_next_lid(void);