[Skiboot] [PATCH] capp: Add lid definitions for P9 DD-2.0 & DD-2.1

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Oct 4 10:19:22 AEDT 2017


Reviewed-by: Andrew Donnellan <andrew.donnellan at 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 at 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);
> 

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list