net/sfc/base: make bundle partition type available for X2
authorRichard Houldsworth <rhouldsworth@solarflare.com>
Thu, 7 Feb 2019 16:29:36 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
Supports the firmware update mechanism described in SF-121352-AN.

Signed-off-by: Richard Houldsworth <rhouldsworth@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nvram.c
drivers/net/sfc/base/efx.h

index 8d1b64f..d54f7df 100644 (file)
@@ -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
index f49ae20..71c3352 100644 (file)
@@ -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;