From patchwork Wed Oct 16 14:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1177973 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZKjr7dlb"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46tb6X1TxVz9sPh for ; Thu, 17 Oct 2019 01:59:16 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C8CDBC21CB6; Wed, 16 Oct 2019 14:58:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A4CF7C21E07; Wed, 16 Oct 2019 14:58:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E4138C21CB1; Wed, 16 Oct 2019 14:58:39 +0000 (UTC) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by lists.denx.de (Postfix) with ESMTPS id 06826C21DC1 for ; Wed, 16 Oct 2019 14:58:38 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id q15so11386348pll.11 for ; Wed, 16 Oct 2019 07:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=20VlbFnkHE/Hf/2m8B1RQ50+Fs0CsojlBBg26jtu/4o=; b=ZKjr7dlb5B8gj9e/nOHMk0TgLzDpnDZRjaqlTHHw+plEqmJYyhxVWzPDx5bAe/tNcY jlHAF8Mhr68P9l3yjMDAmfwQpu3TaDamRU8+xGCRK8s0Boldve3QTRiVYkHkuD6Y6EUY GUseNYopO0x2BaoKO64psu0oIRZWCp4d1s2bM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=20VlbFnkHE/Hf/2m8B1RQ50+Fs0CsojlBBg26jtu/4o=; b=tcz++E/N7XbpZXPiepwFKJ57aXPBD31fCGxEE15XZhAvC3oZbCVx+1SxCnXQNIcYpr gAJqqCQOKCvvB/OE+p0KJ7ql2iPFZysMGpgkg10zft6mlxDHmnSqNHa36Fnorm1ewRy5 i6Lm9Fq4mn+T+Fq7A9WYOUT1GPLfBr9PihWOZvWAH+Z1YtojB/DpxKPvB6ZPACzhxYNd doovWTpQxnR4W7zhFCeVJTRGouo7/ZaDD+Pu81493Uy+VIZGuAxQCkDCrzgYoVWyy8HD L/G0m2tJjUkjmGjbyJp/3pqg7Q9nU3gLd+xKw2Kt6+SYurYq8oo2Scm0a3ysmIvP4/uA yZQg== X-Gm-Message-State: APjAAAU3790ihCSe1hE6qcE6uAy3KQ9QJTnwsjFZQeufT/Phgn4NiZzm lccS+LrqZzI2QhFGGFgrqp3pIg== X-Google-Smtp-Source: APXvYqzXAdgz8IdErEoR4SlK2J/loNM/BxLfaEUgukjUbhQm26Ak0CrNzCAf9WqgCF6GUDspkF9+Aw== X-Received: by 2002:a17:902:a514:: with SMTP id s20mr40953302plq.157.1571237916308; Wed, 16 Oct 2019 07:58:36 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id q29sm5534110pgc.36.2019.10.16.07.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 07:58:35 -0700 (PDT) From: Jagan Teki To: Rick Chen , Paul Walmsley , Palmer Dabbelt , Anup Patel , Atish Patra , Bin Meng Date: Wed, 16 Oct 2019 20:28:12 +0530 Message-Id: <20191016145814.19036-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191016145814.19036-1-jagan@amarulasolutions.com> References: <20191016145814.19036-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com Subject: [U-Boot] [PATCH v2 3/5] mtd: spi-nor: ids: Add is25wp256 chip X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add is25wp256, chip to spi-nor id table. Tested on SiFive FU540 board. Signed-off-by: Jagan Teki Reviewed-by: Bin Meng Tested-by: Bin Meng --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 6996c0a286..04db986561 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -128,6 +128,8 @@ const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { INFO("is25wp128", 0x9d7018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { INFO("is25wp256", 0x9d7019, 0, 64 * 1024, 512, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, #endif #ifdef CONFIG_SPI_FLASH_MACRONIX /* MACRONIX */ /* Macronix */