Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp389312imw; Fri, 15 Jul 2022 05:25:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sKoJEvvXneJzX0NBj9G6u+YD/483vj6hph1mEyYkLrwh7NL4Hab4D0xYbMOzPvD8kvJr16 X-Received: by 2002:a63:5f13:0:b0:419:b8e7:f174 with SMTP id t19-20020a635f13000000b00419b8e7f174mr6316300pgb.169.1657887941387; Fri, 15 Jul 2022 05:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657887941; cv=none; d=google.com; s=arc-20160816; b=AKtWiy5DQxVqYN25GL6IyEl/jqhz+9R+7RkcFL6z7AY3DC476/N4H6ZpK2Sa/mttok +bkCFr/obN3mtuYKFHLBrutwOwaBvPCnnqRMzQHGtxWVuGj8+TRBzVfT7C/fBbsuZC0m oqXrkahS3HztToKxu6RHnDBSM2uAZcu7/PpNtsJ/cjxJHQp9fFZr3asgcT0ZG3r68KgU yGs15IBnvSjPauNNtb76oBXsF285LqNShn28nhguHNu9mfWMIRS9Efd9ZsmPUnp+Y1oH kkzRVjS6nW9cQJMXIdiwmaeDuUOdzn/JJbBnLLJMamZdcJAfY/4yDHasUK6ZMooMy6+C G9KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:cc:to:from:message-id; bh=LZIWxOzyg9N3OQMfHvMtZq5L+LyIsiQgAAIiJjDb2xY=; b=Jxkfq7Vqgf/LVbG6v0qRp2ITdlRtZyoGbt6ePwdHEtz0RyXE1op0AoNYLA8vVTPk9t xljfQ807k9vgo+yCqB0IfeXUwwrcyDWi4u1GkBtdqFcFeBg+dnrRcE8SH7BpMxCk8z6Q YqRpwbjpckcbYuSh5Fg5FOWLJyES639Y112DTQ4LEzVixpg05H6V30pasGk+MGMsehM8 2UWjoICsTEOOWcF2ultk3g4+/kfAa6z23rrKjrme0RiHQ/Zw6xgm7u3JlGuIhqG+EbKP kdiLErEIy22hy7b3yFZ2XOxGSAT2E5Ew5zYmeliCQrwG2H7t46pN+qIlfvvXvWatm02i n+Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a636d05000000b003fbd7285a83si4072971pgc.817.2022.07.15.05.25.22; Fri, 15 Jul 2022 05:25:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Message-ID: <62d15cc5.1c69fb81.527b4.c6a0SMTPIN_ADDED_BROKEN@mx.google.com> X-Google-Original-Message-ID: <20220712072304.icesvrfmem5lgr6i@ti.com> (raw) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232642AbiGOMTq (ORCPT + 99 others); Fri, 15 Jul 2022 08:19:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiGOMTn (ORCPT ); Fri, 15 Jul 2022 08:19:43 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5D45B6173F for ; Fri, 15 Jul 2022 05:19:42 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.92,273,1650898800"; d="scan'208";a="127988338" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 15 Jul 2022 21:19:41 +0900 Received: from localhost.localdomain (unknown [10.226.92.160]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 81666429692B; Fri, 15 Jul 2022 21:19:38 +0900 (JST) From: Biju Das To: michael@walle.cc Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, miquel.raynal@bootlin.com, p.yadav@ti.com, quic_c_sbhanu@quicinc.com, richard@nod.at, tudor.ambarus@microchip.com, vigneshr@ti.com, Biju Das Subject: Re: [PATCH 1/2] mtd: spi-nor: introduce SNOR_ID3() Date: Fri, 15 Jul 2022 13:19:34 +0100 X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220510140232.3519184-2-michael@walle.cc> References: <20220510140232.3519184-2-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/22 04:02PM, Michael Walle wrote: > Up until now, flashes were defined by specifying the JEDEC ID, the > sector size and the number of sectors. This can be read by parsing the > SFDP, we don't have to specify it. Thus provide a new macro SNOR_ID3() > which just takes the JEDEC ID and implicitly set .parse_sfdp = true. All > new flashes which have SFDP should use this macro. > > Signed-off-by: Michael Walle Tested the macro with Renesas AT25QL128A serial nor flash. So, Tested-by: Biju Das