net/sfc/base: support MUM/SUC firmware partitions
authorAndrew Lee <alee@solarflare.com>
Thu, 16 Nov 2017 08:04:04 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
Signed-off-by: Andrew Lee <alee@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nvram.c
drivers/net/sfc/base/efx.h

index 5d7a66f..d0ee1be 100644 (file)
@@ -2170,6 +2170,7 @@ static ef10_parttbl_entry_t medford_parttbl[] = {
        PARTN_MAP_ENTRY(FPGA_BACKUP,            ALL,    FPGA_BACKUP),
        PARTN_MAP_ENTRY(LICENSE,                ALL,    LICENSE),
        PARTN_MAP_ENTRY(EXPANSION_UEFI,         ALL,    UEFIROM),
+       PARTN_MAP_ENTRY(MUM_FIRMWARE,           ALL,    MUM_FIRMWARE),
 };
 
 static __checkReturn           efx_rc_t
index ca0f945..f9d983d 100644 (file)
@@ -1381,6 +1381,7 @@ typedef enum efx_nvram_type_e {
        EFX_NVRAM_DYNAMIC_CFG,
        EFX_NVRAM_LICENSE,
        EFX_NVRAM_UEFIROM,
+       EFX_NVRAM_MUM_FIRMWARE,
        EFX_NVRAM_NTYPES,
 } efx_nvram_type_t;