aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-23 11:31:57 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-23 11:31:57 +0000
commite50a6f3eb40bb6f725f83ed2d0c86bb7fccbc993 (patch)
tree2c9627cad050b640a8d49c3f86f1aa3729025aa8
parent1b5bd0997a2c6b54ca9f135cc9a9e5bd5ce42d8c (diff)
downloadsrc-e50a6f3eb40bb6f725f83ed2d0c86bb7fccbc993.tar.gz
src-e50a6f3eb40bb6f725f83ed2d0c86bb7fccbc993.zip
sfxge(4): support MUM/SUC firmware partitions
Submitted by: Andrew Lee <alee at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18097
Notes
Notes: svn path=/head/; revision=340827
-rw-r--r--sys/dev/sfxge/common/ef10_nvram.c1
-rw-r--r--sys/dev/sfxge/common/efx.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/ef10_nvram.c b/sys/dev/sfxge/common/ef10_nvram.c
index 29fd6bb45675..edf7523c1f79 100644
--- a/sys/dev/sfxge/common/ef10_nvram.c
+++ b/sys/dev/sfxge/common/ef10_nvram.c
@@ -2173,6 +2173,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
diff --git a/sys/dev/sfxge/common/efx.h b/sys/dev/sfxge/common/efx.h
index 6f4d45595a17..f0cb4e0ff3b2 100644
--- a/sys/dev/sfxge/common/efx.h
+++ b/sys/dev/sfxge/common/efx.h
@@ -1388,6 +1388,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;