Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2725922pxb; Sat, 30 Jan 2021 12:09:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8qZgR6E0Oy3VoR9VxzqASR9+g+R0u0k7eke7BrZQvF+r+u781CGJycd8oe474kbx+T62C X-Received: by 2002:aa7:d4d2:: with SMTP id t18mr11808821edr.238.1612037388006; Sat, 30 Jan 2021 12:09:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612037388; cv=none; d=google.com; s=arc-20160816; b=oRljmgSAzMF8YkBoCdM17kGJqtwMU8F5vVI0Kdz196epMa7ecvvx0FJSclMBELclEv hRlcjIsAb1AobLxhBNnbUg7w/i4KFfwg70DZfOraayGGFh8cwpUBOScGGeWfIRdgS1PD phOxq58ukZYcuwYk0beqkujTngXwHfRwhloM8+IzbzHlgQZL720RCkn4QEXAeVhN28xH 6mKB8TnZag08/JKGRixyZy/a0C4IBF6Ztd+pMMVnbUZzr0Fx/m3tIHetmncq2JNmKZi6 6gdY5PmduL5iBqPioSeBmGl6r9shbmoEB2ezO6PD/6G52XhypSYNiQwMEGavuhW1SjPI CefQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=oVt7my9g47mjwUmEpwpvqOCInKw0tOeyVTT1YAvjpu4=; b=tw7v+vhQBCAbYpTQVu4vuiUiB7KcEQ5maXApwLQmsI3+KEHuYtFTUggdf3SDwUzWYo 1WcaseU1grAXpsE4gY9F+O65WsVxFm8V/Go5z9xnNT4mv15U4yc54QFNk51rGw08guSW 84zdQFYPXDliKxaTc/DwEnNttuehirhe0gC2mCI5dv55UuIzAGsiilfyyXnBaMORDFOm 61YGUAb9l7ADGBk4aB2Nz2/OrzUAgNS5nsvRAN5RdAYPOfKwy6FLHy8/2vZ+PjyGaqiS jY7PxEJ7CRh0OCYJAyM+5TmC23GZ1NhJsuspddrYJnbPoEf7mHUmNcJY4UDQIylOFBgM SwQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ks25si7183446ejb.2.2021.01.30.12.09.23; Sat, 30 Jan 2021 12:09:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231812AbhA3UIU (ORCPT + 99 others); Sat, 30 Jan 2021 15:08:20 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:40468 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbhA3UIU (ORCPT ); Sat, 30 Jan 2021 15:08:20 -0500 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 30 Jan 2021 12:07:39 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 30 Jan 2021 12:07:38 -0800 X-QCInternal: smtphost Received: from mdalam-linux.qualcomm.com ([10.201.2.71]) by ironmsg01-blr.qualcomm.com with ESMTP; 31 Jan 2021 01:37:19 +0530 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id 1C76821C96; Sun, 31 Jan 2021 01:37:19 +0530 (IST) From: Md Sadre Alam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, boris.brezillon@collabora.com, manivannan.sadhasivam@linaro.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: mdalam@codeaurora.org, sricharan@codeaurora.org Subject: [PATCH] mtd: rawnand: qcom: Update register macro name for 0x2c offset Date: Sun, 31 Jan 2021 01:37:16 +0530 Message-Id: <1612037236-7954-1-git-send-email-mdalam@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change will remove unused register name macro NAND_DEV1_ECC_CFG. Since this register was only available in QPIC version 1.4.20 ipq40xx and it was not used. In QPIC version 1.5 on wards this register got removed.In QPIC version 2.0 0x2c offset is updated with register NAND_AUTO_STATUS_EN So adding this register macro NAND_AUTO_STATUS_EN with offset 0x2c. Signed-off-by: Md Sadre Alam --- drivers/mtd/nand/raw/qcom_nandc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c index 9484be8..c238a35 100644 --- a/drivers/mtd/nand/raw/qcom_nandc.c +++ b/drivers/mtd/nand/raw/qcom_nandc.c @@ -27,7 +27,7 @@ #define NAND_DEV0_CFG0 0x20 #define NAND_DEV0_CFG1 0x24 #define NAND_DEV0_ECC_CFG 0x28 -#define NAND_DEV1_ECC_CFG 0x2c +#define NAND_AUTO_STATUS_EN 0x2c #define NAND_DEV1_CFG0 0x30 #define NAND_DEV1_CFG1 0x34 #define NAND_READ_ID 0x40 -- 2.7.4