aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_check.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-29 06:29:24 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-29 06:29:24 +0000
commit391763d7b48648ad7a3d75de4c6bac8764eb51e4 (patch)
tree7c0cb7048cd7e8100247370128ac777d7bfbae5e /sys/dev/sfxge/common/efx_check.h
parenteec8d0a378b1d09394d7306a59d71e0503f517bd (diff)
downloadsrc-391763d7b48648ad7a3d75de4c6bac8764eb51e4.tar.gz
src-391763d7b48648ad7a3d75de4c6bac8764eb51e4.zip
sfxge(4): add firmware image layout option
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18214
Notes
Notes: svn path=/head/; revision=341183
Diffstat (limited to 'sys/dev/sfxge/common/efx_check.h')
-rw-r--r--sys/dev/sfxge/common/efx_check.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/efx_check.h b/sys/dev/sfxge/common/efx_check.h
index d7f8aaae9123..eb8aeeb96882 100644
--- a/sys/dev/sfxge/common/efx_check.h
+++ b/sys/dev/sfxge/common/efx_check.h
@@ -208,6 +208,13 @@
# endif
#endif /* EFSYS_OPT_NVRAM */
+#if EFSYS_OPT_IMAGE_LAYOUT
+/* Support signed image layout handling */
+# if !(EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
+# error "IMAGE_LAYOUT requires MEDFORD or MEDFORD2"
+# endif
+#endif /* EFSYS_OPT_IMAGE_LAYOUT */
+
#ifdef EFSYS_OPT_NVRAM_FALCON_BOOTROM
# error "NVRAM_FALCON_BOOTROM is obsolete and is not supported."
#endif