OSDN Git Service

qed: Adapter flash update support.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Wed, 28 Mar 2018 12:14:22 +0000 (05:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 18:29:55 +0000 (14:29 -0400)
commit3a69cae80cdd1b5c8b23137cba2a80ecfec4cef5
tree009296d450ee2667440783b33a0908d2b2e21008
parent62e4d4386a954eb071ecd4a72105ea222157f11d
qed: Adapter flash update support.

This patch adds the required driver support for updating the flash or
non volatile memory of the adapter. At highlevel, flash upgrade comprises
of reading the flash images from the input file, validating the images and
writing them to the respective paritions.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c
include/linux/qed/qed_if.h