{"id":814306,"url":"http://patchwork.ozlabs.org/api/patches/814306/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170915142107.26702-1-vgribov@larch-networks.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170915142107.26702-1-vgribov@larch-networks.com>","list_archive_url":null,"date":"2017-09-15T14:21:07","name":"[U-Boot] Fix s25fl256s position in spi_flash_ids list","commit_ref":"db10809c17c7cd8960d0c45248bbef6e76251ad7","pull_url":null,"state":"accepted","archived":false,"hash":"6637d3c54e4e5af34339b836b12fa0569d741c6e","submitter":{"id":72372,"url":"http://patchwork.ozlabs.org/api/people/72372/?format=json","name":"Vsevolod Gribov","email":"vgribov@larch-networks.com"},"delegate":{"id":17739,"url":"http://patchwork.ozlabs.org/api/users/17739/?format=json","username":"jagan","first_name":"Jagannadha Sutradharudu","last_name":"Teki","email":"jagannadh.teki@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170915142107.26702-1-vgribov@larch-networks.com/mbox/","series":[{"id":3319,"url":"http://patchwork.ozlabs.org/api/series/3319/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3319","date":"2017-09-15T14:21:07","name":"[U-Boot] Fix s25fl256s position in spi_flash_ids list","version":1,"mbox":"http://patchwork.ozlabs.org/series/3319/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814306/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814306/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=larch-networks-com.20150623.gappssmtp.com\n\theader.i=@larch-networks-com.20150623.gappssmtp.com\n\theader.b=\"I9ke2Ztp\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtyJy3tm3z9s7m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 00:22:10 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 36847C21FFB; Fri, 15 Sep 2017 14:22:05 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 61E38C21C4A;\n\tFri, 15 Sep 2017 14:22:03 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 8B956C21C4A; Fri, 15 Sep 2017 14:21:12 +0000 (UTC)","from mail-lf0-f66.google.com (mail-lf0-f66.google.com\n\t[209.85.215.66])\n\tby lists.denx.de (Postfix) with ESMTPS id 25FBAC21C29\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 14:21:12 +0000 (UTC)","by mail-lf0-f66.google.com with SMTP id l196so1288332lfl.3\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 07:21:12 -0700 (PDT)","from vgribov-dev.localdomain ([176.104.56.175])\n\tby smtp.gmail.com with ESMTPSA id\n\tq62sm214752ljq.57.2017.09.15.07.21.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 15 Sep 2017 07:21:10 -0700 (PDT)"],"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_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=larch-networks-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=3/EZGmbjHf7m6m5R8HM9OCQq/AUhZ83X/QEYXzz2l8M=;\n\tb=I9ke2ZtpSBzNmNE90g74Z1hV5y8PYrBB81ZLK1jTtr/n0Eg1OkngOExXQV2e/mvrUx\n\terOEdFQhYb+IDZkDOTWb6TVC91xKxsjLyei0KnVY4XKGbKIDg3i/XnkFG/uL3UnaajI3\n\t9GsWOE/eXyF00R00c583TnrBJAkc4DyxG9Bv/qJYmvviGodUyesZfXoJv17WOpA/mIdz\n\tjl/6Es8HJ0lpbPau7Hs5ZGqQ2uTTyTbf5GcTn3Rhv2F1NI2vV1G3bHj9nnBTLNvLNz7l\n\tw5d1k0tYZnDNL8pG3zAk5RsYvRHDrH79bq+4KZ3yXEyOz9L0nq8XAwLLmktexQgEHmeP\n\tohTw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=3/EZGmbjHf7m6m5R8HM9OCQq/AUhZ83X/QEYXzz2l8M=;\n\tb=gVanKf97RKtyqBJCb55D7UmVrgseUY0dlPRwPiXSVqMOvLf5kb/M6ZLaU7M1Zsg80I\n\tYNl2S9syoGiBpbM6PSWjkbJGCyqfY5liKmP+BBJOUIbsxpJi7Vws4Ep5Sq67DnwN7ugK\n\tB8qlsW+AGHP6kqKH1VpXCGW32GVndA+6DrIu3dyIyKaMJTdYKFPnipHljDyXsOopQ9zt\n\tObJBac5jWgI8TcP9rhCEVDcoZp80sgA7AP5oaKadu73GitrqNwmNdhbcTAbk2OK0Qdn9\n\trm4sP8o+WwPv9U+pjSlJK5ZZkFnge1VA9DGCOQ0B5SxodxsihqIUaTPrEglJn+a9EtUb\n\taSnA==","X-Gm-Message-State":"AHPjjUhbsCBXeSAb3grQ3H9POuT1I6qD4he4Me40r4PAO2vJXPyn4heY\n\tLTX231YsQDn44FyEaUM=","X-Google-Smtp-Source":"AOwi7QBkgtW6L31GbRgN5tN8k4Eu7pZAL7LTZnSDXSVSXbXJ4bSf8ec7VsBxmTiH/L8Cw0j7MxClyw==","X-Received":"by 10.46.29.5 with SMTP id d5mr2972681ljd.97.1505485271229;\n\tFri, 15 Sep 2017 07:21:11 -0700 (PDT)","From":"Vsevolod Gribov <vgribov@larch-networks.com>","To":"u-boot@lists.denx.de","Date":"Fri, 15 Sep 2017 17:21:07 +0300","Message-Id":"<20170915142107.26702-1-vgribov@larch-networks.com>","X-Mailer":"git-send-email 2.14.1","X-Mailman-Approved-At":"Fri, 15 Sep 2017 14:22:02 +0000","Cc":"Vsevolod Gribov <vgribov@larch-networks.com>","Subject":"[U-Boot] [PATCH] Fix s25fl256s position in spi_flash_ids list","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://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>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Spansion S25FS256S and S25FL256S flashes have equal JEDEC ID and ext ID.\nAs far as S25FL256S occures in spi_flash_ids before S25FS256S, U-Boot\nincorrectly detects FS flash as FL. Thus its better to compare with\nS25FS256S first.\n---\n drivers/mtd/spi/spi_flash_ids.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c\nindex c4ccf48..906cc7b 100644\n--- a/drivers/mtd/spi/spi_flash_ids.c\n+++ b/drivers/mtd/spi/spi_flash_ids.c\n@@ -100,8 +100,8 @@ const struct spi_flash_info spi_flash_ids[] = {\n \t{\"s25fl128s_256k\", INFO(0x012018, 0x4d00, 256 * 1024,    64, RD_FULL | WR_QPP) },\n \t{\"s25fl128s_64k\",  INFO(0x012018, 0x4d01,  64 * 1024,   256, RD_FULL | WR_QPP) },\n \t{\"s25fl256s_256k\", INFO(0x010219, 0x4d00, 256 * 1024,   128, RD_FULL | WR_QPP) },\n-\t{\"s25fl256s_64k\",  INFO(0x010219, 0x4d01,  64 * 1024,   512, RD_FULL | WR_QPP) },\n \t{\"s25fs256s_64k\",  INFO6(0x010219, 0x4d0181, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },\n+\t{\"s25fl256s_64k\",  INFO(0x010219, 0x4d01,  64 * 1024,   512, RD_FULL | WR_QPP) },\n \t{\"s25fs512s\",      INFO6(0x010220, 0x4d0081, 128 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },\n \t{\"s25fl512s_256k\", INFO(0x010220, 0x4d00, 256 * 1024,   256, RD_FULL | WR_QPP) },\n \t{\"s25fl512s_64k\",  INFO(0x010220, 0x4d01,  64 * 1024,  1024, RD_FULL | WR_QPP) },\n","prefixes":["U-Boot"]}