bnxt_en: Added support for Secure Firmware Update
authorRob Swindell <Rob.Swindell@broadcom.com>
Mon, 19 Sep 2016 07:58:03 +0000 (03:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 01:32:24 +0000 (21:32 -0400)
commit5ac67d8bc753b122175e682274599338b3ee7d42
tree216ee1801a4b88f74d2e2610569b3e4cd90e2983
parent441cabbbf1bd0b99e283c9116fe430e53ee67a4a
bnxt_en: Added support for Secure Firmware Update

Using Ethtool flashdev command, entire NVM package (*.pkg) files
may now be staged into the "update" area of the NVM and subsequently
verified and installed by the firmware using the newly introduced
command: NVM_INSTALL_UPDATE.

We also introduce use of the new firmware command FW_SET_TIME so that the
NVM-resident package installation log contains valid time-stamps.

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.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/ethernet/broadcom/bnxt/bnxt_fw_hdr.h