Message ID | cb1452fa379323665deaac971be140e203fd46a8.1654741889.git.Takahiro.Kuwano@infineon.com |
---|---|
State | Changes Requested |
Delegated to: | Ambarus Tudor |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Byp8vL2q; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Zk7HU51h; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LJdSZ2pvBz9s2R for <incoming@patchwork.ozlabs.org>; Thu, 9 Jun 2022 19:04:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GD+MA+sU1wep6UVUarpM1PHvMQ7iz6zkmkHOTq3898o=; b=Byp8vL2qgm6kN0 HMpMdPngMij9oZJjZbG0Vbd9qMK9fGsH3xIZbW2mim3rZkX3V91cOmjlGMv+CNljZrSm1J5ZhcJwv 7AhkdeMMlmxA2kOlBR5XH73kj9wh/l6/GS6GYizElzP7x0RcOMP8B01gGjVPL6tvJH3pHdr1XVjUb UgPUCveUAW/K4HbiaYu8MJCfsuInd49bbRrGYReBtQDBV+Y4uiXSzKjEOcuS/fFBlaY2YshrrX6mA QTKBc7E9Mm9VSkvXoM/72zLKsd/4yp8C7ij1yDJQtmWJ0zzhL8TZM2QMmhaP0Xwhfa0wjpvb+EFMp 3oeGRITTqeVFgzXPaI2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzE4t-000Vnr-RF; Thu, 09 Jun 2022 09:03:43 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzE15-000Tor-42 for linux-mtd@lists.infradead.org; Thu, 09 Jun 2022 08:59:49 +0000 Received: by mail-pg1-x52d.google.com with SMTP id y187so21284926pgd.3 for <linux-mtd@lists.infradead.org>; Thu, 09 Jun 2022 01:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RgA8r+RCZPTdQoBfUu07FuZCEcori04bi1d3bbFFnXM=; b=Zk7HU51h2zhdjVmZp7J4PyafVzvR5WIX4KANdn2gY1EuU2lennI+o5AtHRsMiJ8Xey e93gPGCBQeI/SBZ7AmOmtvSQ7ggLU/9kC1ryAu9hi6jwofy5Y89OAZPB1RacynuTc8C8 1VdrlIlc89moT8KCU8NoPBeWUvbUnMpWZoXN5ajy7Z6ErJMKkI4pki+gKVh5fZpS20hi DLS8bKOK0HMr2gVchpdGADc05FtDnFXqPTnfdDBuRhuLeY8EpfhLzC+N6NlWvishyduT 6XJh6V/KBlsxM8wVQSdyrpRUUI2AcqOyejIWIvV+gJ6+24hewW+JLTUljD5AzyjL7GuE ggkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RgA8r+RCZPTdQoBfUu07FuZCEcori04bi1d3bbFFnXM=; b=QY6OxeyFUOtbRWQHVXEF+jakPke+MAJo9ePAxoOTtjIGt4ufap4Iwx62AXD1eYCCko 2ZaDTz3txHNRkddINJUwyQcUGZhXzEMvifXSCGd5kwFV8S+Qv8F1JjcIC0S1CY7DP5de cj7dxRM/UVHQEDV4FIBAW5l3klUEz1F4ZyoNMNL2pfaM06OlZO/Smv6W1V1+vGRFoWBB YPxXzwRpLkwesL6Lp93gCcmtJ8ayJtVv5gi0ALV1ottWoyfCUh7bQu9xnd0xsZhClFuP aAP+/2GLuMNZFY/+duHMjHUC7Ux57z5slgR98sgrDGQljDk+iGJ6Um2Sl5qpFjZfrPui J5Ng== X-Gm-Message-State: AOAM5316zodZzxS4na83JNeR0xcKUn0tPJstUuhrgg26Q4ZrH46raQl9 8lYK/STXX4WXeIR8s1nYkAWdgSu23qk= X-Google-Smtp-Source: ABdhPJzZ/p72P/0iEsDgvSqHJWOy3fr7BoLIb85YzqfVnat/Vzf4N9vgNhFquyM/4bWToVhucEfRLA== X-Received: by 2002:a63:6cf:0:b0:3fc:961b:deac with SMTP id 198-20020a6306cf000000b003fc961bdeacmr33033170pgg.180.1654765185565; Thu, 09 Jun 2022 01:59:45 -0700 (PDT) Received: from ISCNPF1JZGWX.infineon.com (fp76ee264d.knge102.ap.nuro.jp. [118.238.38.77]) by smtp.gmail.com with ESMTPSA id ja13-20020a170902efcd00b00168adae4eb2sm575997plb.262.2022.06.09.01.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 01:59:45 -0700 (PDT) From: tkuw584924@gmail.com X-Google-Original-From: Takahiro.Kuwano@infineon.com To: linux-mtd@lists.infradead.org Cc: tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, p.yadav@ti.com, michael@walle.cc, tkuw584924@gmail.com, Bacem.Daassi@infineon.com Subject: [PATCH v16 2/8] mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytes Date: Thu, 9 Jun 2022 17:57:39 +0900 Message-Id: <cb1452fa379323665deaac971be140e203fd46a8.1654741889.git.Takahiro.Kuwano@infineon.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1654741888.git.Takahiro.Kuwano@infineon.com> References: <cover.1654741888.git.Takahiro.Kuwano@infineon.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_015947_224385_BA36B743 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Tudor Ambarus The maximum number of address bytes in SPI NOR is 4. Shrink the storage size of the flash_info's addr_nbytes. Signed-off-by: Tudor Ambarus Reviewed-by: Michael Walle Reviewed-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:52d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [tkuw584924[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [tkuw584924[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
mtd: spi-nor: Add support for Infineon s25hl-t/s25hs-t
|
expand
|
diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h index cd76296d0060..5eff3f636416 100644 --- a/drivers/mtd/spi-nor/core.h +++ b/drivers/mtd/spi-nor/core.h @@ -488,7 +488,7 @@ struct flash_info { unsigned sector_size; u16 n_sectors; u16 page_size; - u16 addr_nbytes; + u8 addr_nbytes; bool parse_sfdp; u16 flags;