Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424700AbdDUTQ4 (ORCPT ); Fri, 21 Apr 2017 15:16:56 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:36299 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424625AbdDUTQw (ORCPT ); Fri, 21 Apr 2017 15:16:52 -0400 From: Andrey Smirnov To: linux-mtd@lists.infradead.org Cc: Andrey Smirnov , cphealy@gmail.com, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , linux-kernel@vger.kernel.org Subject: [PATCH v5 6/6] mtd: dataflash: Add flash_info for AT45DB641E Date: Fri, 21 Apr 2017 09:30:26 -0700 Message-Id: <20170421163026.24884-6-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170421163026.24884-1-andrew.smirnov@gmail.com> References: <20170421163026.24884-1-andrew.smirnov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1453 Lines: 44 Cc: cphealy@gmail.com Cc: David Woodhouse Cc: Brian Norris Cc: Boris Brezillon Cc: Marek Vasut Cc: Richard Weinberger Cc: Cyrille Pitchen Cc: linux-kernel@vger.kernel.org Acked-by: Marek Vasut Signed-off-by: Andrey Smirnov --- Changes since [v4]: - Collected Acked-by from Marek Changes since [v3]: - Update the patch ot use SUP_EXTID No changes between v3 to v1. [v3] http://lkml.kernel.org/r/20170419152305.17226-6-andrew.smirnov@gmail.com [v4] http://lkml.kernel.org/r/20170420162952.5181-6-andrew.smirnov@gmail.com drivers/mtd/devices/mtd_dataflash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 3f1a0fb..5dc8bd0 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c @@ -736,6 +736,9 @@ static struct flash_info dataflash_data[] = { { "AT45DB642x", 0x1f2800, 8192, 1056, 11, SUP_POW2PS}, { "at45db642d", 0x1f2800, 8192, 1024, 10, SUP_POW2PS | IS_POW2PS}, + + { "AT45DB641E", 0x1f28000100, 32768, 264, 9, SUP_EXTID | SUP_POW2PS}, + { "at45db641e", 0x1f28000100, 32768, 256, 8, SUP_EXTID | SUP_POW2PS | IS_POW2PS}, }; static struct flash_info *jedec_lookup(struct spi_device *spi, -- 2.9.3