From patchwork Wed Jun 17 06:29:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vishal Kulkarni X-Patchwork-Id: 217681 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67DA6C433E0 for ; Wed, 17 Jun 2020 06:29:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D0F620853 for ; Wed, 17 Jun 2020 06:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbgFQG3c (ORCPT ); Wed, 17 Jun 2020 02:29:32 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:44802 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgFQG3c (ORCPT ); Wed, 17 Jun 2020 02:29:32 -0400 Received: from vishal.asicdesigners.com ([10.193.191.100]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id 05H6TOkL026703; Tue, 16 Jun 2020 23:29:25 -0700 From: Vishal Kulkarni To: netdev@vger.kernel.org, davem@davemloft.net Cc: nirranjan@chelsio.com, dt@chelsio.com, Vishal Kulkarni Subject: [PATCH net-next 0/5] cxgb4: add support to read/write flash Date: Wed, 17 Jun 2020 11:59:02 +0530 Message-Id: <20200617062907.26121-1-vishal@chelsio.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series of patches adds support to read/write different binary images of serial flash present in Chelsio terminator. 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 | 279 ++++++++++++++++++ drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 6 + 9 files changed, 640 insertions(+), 16 deletions(-)