From: Andrew Jackson Date: Tue, 20 Feb 2018 07:33:20 +0000 (+0000) Subject: net/sfc/base: regenerate files with genfwdef after ID update X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=062687981d124b484c42d99efd28dc0f763961b0;p=dpdk.git net/sfc/base: regenerate files with genfwdef after ID update Add security level to image boot header. Signed-off-by: Andrew Jackson Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/siena_flash.h b/drivers/net/sfc/base/siena_flash.h index 91a9fe05de..74bb949613 100644 --- a/drivers/net/sfc/base/siena_flash.h +++ b/drivers/net/sfc/base/siena_flash.h @@ -103,7 +103,14 @@ typedef struct siena_mc_boot_hdr_s { /* GENERATED BY scripts/genfwdef */ /* the key, or 0xffff if unsigned. (Otherwise set to 0) */ efx_byte_t mumfw_subtype; /* MUM & SUC images: subtype. (Otherwise set to 0) */ efx_byte_t reserved_b[3]; /* (set to 0) */ - efx_dword_t reserved_c[6]; /* (set to 0) */ + efx_dword_t security_level; /* This number increases every time a serious security flaw */ + /* is fixed. A secure NIC may not downgrade to any image */ + /* with a lower security level than the current image. */ + /* Note: The number in this header should only be used for */ + /* determining the level of new images, not to determine */ + /* the level of the current image as this header is not */ + /* protected by a CMAC. */ + efx_dword_t reserved_c[5]; /* (set to 0) */ } siena_mc_boot_hdr_t; #define SIENA_MC_BOOT_HDR_PADDING \