From: Richard Houldsworth Date: Thu, 7 Feb 2019 16:29:36 +0000 (+0000) Subject: net/sfc/base: make bundle partition type available for X2 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=17cbefa18180f57bf133379421b3389313a19675;p=dpdk.git net/sfc/base: make bundle partition type available for X2 Supports the firmware update mechanism described in SF-121352-AN. Signed-off-by: Richard Houldsworth Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/ef10_nvram.c b/drivers/net/sfc/base/ef10_nvram.c index 8d1b64f250..d54f7df027 100644 --- a/drivers/net/sfc/base/ef10_nvram.c +++ b/drivers/net/sfc/base/ef10_nvram.c @@ -2269,6 +2269,7 @@ static ef10_parttbl_entry_t medford2_parttbl[] = { PARTN_MAP_ENTRY(MUM_FIRMWARE, ALL, MUM_FIRMWARE), PARTN_MAP_ENTRY(DYNCONFIG_DEFAULTS, ALL, DYNCONFIG_DEFAULTS), PARTN_MAP_ENTRY(ROMCONFIG_DEFAULTS, ALL, ROMCONFIG_DEFAULTS), + PARTN_MAP_ENTRY(BUNDLE, ALL, BUNDLE), }; static __checkReturn efx_rc_t diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index f49ae20278..71c335279b 100644 --- a/drivers/net/sfc/base/efx.h +++ b/drivers/net/sfc/base/efx.h @@ -1585,6 +1585,7 @@ typedef enum efx_nvram_type_e { EFX_NVRAM_MUM_FIRMWARE, EFX_NVRAM_DYNCONFIG_DEFAULTS, EFX_NVRAM_ROMCONFIG_DEFAULTS, + EFX_NVRAM_BUNDLE, EFX_NVRAM_NTYPES, } efx_nvram_type_t;