This series of patches adds support to read/write different binary images of serial flash present in Chelsio terminator.
V2 changes: Patch 1: No change Patch 2: No change Patch 3: Fix 4 compilation warnings reported by C=1, W=1 flags Patch 4: No change Patch 5: No change Vishal Kulkarni (5): cxgb4: update set_flash to flash different images cxgb4: add support to flash PHY image cxgb4: add support to flash boot image cxgb4: add support to flash boot cfg image cxgb4: add support to read serial flash drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h | 3 +- .../net/ethernet/chelsio/cxgb4/cudbg_lib.c | 38 +++ .../net/ethernet/chelsio/cxgb4/cudbg_lib.h | 4 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 67 +++++ .../net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c | 14 + .../net/ethernet/chelsio/cxgb4/cxgb4_cudbg.h | 1 + .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 244 ++++++++++++++- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 277 ++++++++++++++++++ drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 6 + 9 files changed, 638 insertions(+), 16 deletions(-) -- 2.21.1