Message ID | 4b8388a9961cac4024647228f12a3da24b338081.1662011338.git.Takahiro.Kuwano@infineon.com |
---|---|
State | Accepted |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ShxjY6ic; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MJ9Xd4Gm1z1yhP for <incoming@patchwork.ozlabs.org>; Thu, 1 Sep 2022 16:06:25 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A487849DC; Thu, 1 Sep 2022 08:06:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ShxjY6ic"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD3BD849D1; Thu, 1 Sep 2022 08:06:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E9C81841AB for <u-boot@lists.denx.de>; Thu, 1 Sep 2022 08:06:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tkuw584924@gmail.com Received: by mail-pj1-x1029.google.com with SMTP id p8-20020a17090ad30800b001fdfc8c7567so4850116pju.1 for <u-boot@lists.denx.de>; Wed, 31 Aug 2022 23:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=/yVq9Vym0PkYl6EXvMtJI5bgiwJtO+cq+KnVUQocGPg=; b=ShxjY6ic41mPYoLRDFxidbc5PumkFIMwwT+PeLfoUUk6hk25b03TDHETHvFXWE5qpq dHuoy9nHUvDvGyspNPbamGpJTHGF+h9Bl9v8quQ5sE2D79VLlG009ULTpxa9Ka2eqKpl JqQMKfEfR423GkygkvOJV53yAqq4Q0eajcDuTZHGBP8RajdyWJhK3D1cf44UJAJLiOGT Lv8iOCOdbDWo2fi4EjWL9DorGwCyf7CkCbgrcKmu/gEXdpMlhgcnwMBD9jwsYnwQS9XT r7+PDDIMiR64nBqwHwERzrhXE9P2v8UfjjoGawgNRT+/qo6T3WY9zudSg5W+/7VLgj8A AIHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=/yVq9Vym0PkYl6EXvMtJI5bgiwJtO+cq+KnVUQocGPg=; b=ej8Nz9qfTWLHaIouUcq3ABS0HE574HBznPTIKnFy4NYikZC4hL568vrJ+ToJmboa7Q aozvP41iPI1NVd1GR5zENmhrASx5Pl9JNwwMeg7LQls/cXTIpsKSrSUsTGPqgTtYZVMM mxJTiUVhxCr4e8U1oYAyLnxq8uHRRAmtODOWbM5qad+0RwB7rCO5ulA0xW1iKvc0WA4n 1IYN03WooqnaBaftJSahCHkWlPIM3g3smi0HCNYwj6tQHLyYuijX/K9yuFrKdWR8rF5o iA6gwefp5EyaZ5M2p7nDNcHR8ZmPY5TebkVorCcbNdV0dm/BK8MUmvRryyLhmAFau4vE H0IQ== X-Gm-Message-State: ACgBeo2GQJu2BXqXbMzoa4/TtzlDtCy6EFghxr8W7NvAzQWEGMeXuzqw ImWtbarSXw4XYkTvkw5CPJ7w81GW2Zw= X-Google-Smtp-Source: AA6agR6ITJ9fyRIuCLPXIMB2ra+aoG3wsiGknqCvjcXapxw0uH00yyFuKDgIs8xqqz4hyCCfRYooRw== X-Received: by 2002:a17:90b:1bca:b0:1fb:7eaf:8955 with SMTP id oa10-20020a17090b1bca00b001fb7eaf8955mr7055468pjb.37.1662012369297; Wed, 31 Aug 2022 23:06:09 -0700 (PDT) Received: from ISCNPF1JZGWX.infineon.com (KD106168128197.ppp-bb.dion.ne.jp. [106.168.128.197]) by smtp.gmail.com with ESMTPSA id g194-20020a6252cb000000b00538505ff705sm6991522pfb.91.2022.08.31.23.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 23:06:08 -0700 (PDT) From: tkuw584924@gmail.com X-Google-Original-From: Takahiro.Kuwano@infineon.com To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, vigneshr@ti.com, pratyush@kernel.org, tudor.ambarus@microchip.com, tkuw584924@gmail.com, Bacem.Daassi@infineon.com, Takahiro Kuwano <Takahiro.Kuwano@infineon.com> Subject: [PATCH 1/4] mtd: spi-nor-core: Default to addr_width of 3 for configurable widths Date: Thu, 1 Sep 2022 15:05:30 +0900 Message-Id: <4b8388a9961cac4024647228f12a3da24b338081.1662011338.git.Takahiro.Kuwano@infineon.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1662011338.git.Takahiro.Kuwano@infineon.com> References: <cover.1662011338.git.Takahiro.Kuwano@infineon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
mtd: spi-nor-core: Track flash's internal address mode in s25hx-t
|
expand
|
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c index e3c86e080a..90d0f769f0 100644 --- a/drivers/mtd/spi/spi-nor-core.c +++ b/drivers/mtd/spi/spi-nor-core.c @@ -2213,6 +2213,7 @@ static int spi_nor_parse_bfpt(struct spi_nor *nor, /* Number of address bytes. */ switch (bfpt.dwords[BFPT_DWORD(1)] & BFPT_DWORD1_ADDRESS_BYTES_MASK) { case BFPT_DWORD1_ADDRESS_BYTES_3_ONLY: + case BFPT_DWORD1_ADDRESS_BYTES_3_OR_4: nor->addr_width = 3; break;