bnxt_en: Add support for updating flash more securely
authorRob Swindell <rob.swindell@broadcom.com>
Fri, 1 Jul 2016 22:46:22 +0000 (18:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:52:35 +0000 (14:52 -0400)
commita4c363471f2fa2b0f0abbd9f0563b034340585c3
tree52c629856c676aff317d072520783099b4694390
parent2a5bedfa674cf81d60a20a76f456778834bd2123
bnxt_en: Add support for updating flash more securely

To support Secure Firmware Update, we must be able to allocate
a staging area in the Flash.  This patch adds support for the
"update" type to tell firmware to do that.

Signed-off-by: Rob Swindell <rob.swindell@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/ethernet/broadcom/bnxt/bnxt_nvm_defs.h