From 17cbefa18180f57bf133379421b3389313a19675 Mon Sep 17 00:00:00 2001 From: Richard Houldsworth Date: Thu, 7 Feb 2019 16:29:36 +0000 Subject: [PATCH] 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 --- drivers/net/sfc/base/ef10_nvram.c | 1 + drivers/net/sfc/base/efx.h | 1 + 2 files changed, 2 insertions(+) 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; -- 2.20.1