{"id":809098,"url":"http://patchwork.ozlabs.org/api/patches/809098/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504367034-1000-1-git-send-email-bmeng.cn@gmail.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":"<1504367034-1000-1-git-send-email-bmeng.cn@gmail.com>","list_archive_url":null,"date":"2017-09-02T15:43:52","name":"[U-Boot,1/3] block: ide: Drop CONFIG_IDE_INIT_POSTRESET","commit_ref":"f1823d3aaa72cff4f6e979e3c4e4362c3ccc0751","pull_url":null,"state":"accepted","archived":false,"hash":"4ae51242e56c8325633d5286d81e8378601fff8d","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/?format=json","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504367034-1000-1-git-send-email-bmeng.cn@gmail.com/mbox/","series":[{"id":1161,"url":"http://patchwork.ozlabs.org/api/series/1161/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1161","date":"2017-09-02T15:43:52","name":"[U-Boot,1/3] block: ide: Drop CONFIG_IDE_INIT_POSTRESET","version":1,"mbox":"http://patchwork.ozlabs.org/series/1161/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809098/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809098/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=gmail.com header.i=@gmail.com\n\theader.b=\"ghKZVd3f\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl0fc5x1Nz9sQl\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 01:39:52 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 8768AC21C5C; Sat,  2 Sep 2017 15:39:35 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 9323DC21C5C;\n\tSat,  2 Sep 2017 15:39:32 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D8E12C21D19; Sat,  2 Sep 2017 15:39:31 +0000 (UTC)","from mail-it0-f65.google.com (mail-it0-f65.google.com\n\t[209.85.214.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 3EDD6C21C5C\n\tfor <u-boot@lists.denx.de>; Sat,  2 Sep 2017 15:39:31 +0000 (UTC)","by mail-it0-f65.google.com with SMTP id b76so1168808itb.2\n\tfor <u-boot@lists.denx.de>; Sat, 02 Sep 2017 08:39:31 -0700 (PDT)","from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\tx87sm1425596ita.38.2017.09.02.08.39.28\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 02 Sep 2017 08:39:29 -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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id;\n\tbh=bWpLpJxR+0ZdIRZiLpI8klBstyUjkAFfoXp/p2X7NuU=;\n\tb=ghKZVd3fl14ufpmgi29DCKnQOS60NRfQlb1M21IFQUnh4LXrEnoGHHcJIVI4FKrxMf\n\ttS4EqlGE7mCygQrB3lHVSWsHavxRWR/f1IoHf/3edtiQAqP+TOBmHdDc8VaLg6DNUOwF\n\td3OVpZzVL3xHH725/DXy7Mf0fjJ0iPSqYOs3+HckbDcb6hLSZuJEjgASTVSqlIDGpmBb\n\tgKPf23+QU6fqMwn7kzK4fnWZBFt1PYe/PUMJnLsZOdBzfVN/aQBqpqtiA4KYQWMQccqb\n\tZOwTz7uXWWdIYr/iQjqFHqeOVK8TQHZPfNFKYRS1IS2V+Rq7lS5+3FdCVc9sB7EdceJW\n\tq7+A==","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:subject:date:message-id;\n\tbh=bWpLpJxR+0ZdIRZiLpI8klBstyUjkAFfoXp/p2X7NuU=;\n\tb=VpGYOC38U4Lfa3GAwp8/QV+p2LZO9QiHxFH5g2FwzAKh0TEn6Pu2/qJN7VQZAg2oX/\n\tB3TAkCaYIQXyMTs4oewOWKzLJKIWvEeSTLI5XQ1v87IzxW1+0+iU86Tfd9LgTXQXmggv\n\trzEdRUjpiwVD0T42vcpAiXR6YkOI9hzJd5L/G+idVILPBM9Wn5Q1KfC34Gg6j+qgV5Nb\n\tD5KFcpaB8lCQk6xPaT2e7zzR/Mko5pWHB6MbsPaf+6tqJtkk9l21/c0tggzQWn6677vE\n\ts5HAP1M8fsbnQ67CzoYLuUnw7++AA4Z9hTz7O5yrObUveGKEaxqRDVQ/SF6K/mYrzEax\n\tPq9g==","X-Gm-Message-State":"AHPjjUiummuHq6cAR5/Xo1xRbYTKPsOrSw99nHMup2jJIuBEYYdj+d3Q\n\tjQa4oBenykXrGQ==","X-Google-Smtp-Source":"ADKCNb6bUgfypIUUJwWp/rfW/qumGVon621cFTGpsvIvzL8IZ8tTx3W2oHXlS5qKHe1BqekvdsGILQ==","X-Received":"by 10.36.198.197 with SMTP id j188mr1433264itg.169.1504366770209;\n\tSat, 02 Sep 2017 08:39:30 -0700 (PDT)","From":"Bin Meng <bmeng.cn@gmail.com>","To":"Tom Rini <trini@konsulko.com>, U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sat,  2 Sep 2017 08:43:52 -0700","Message-Id":"<1504367034-1000-1-git-send-email-bmeng.cn@gmail.com>","X-Mailer":"git-send-email 1.7.9.5","Subject":"[U-Boot] [PATCH 1/3] block: ide: Drop CONFIG_IDE_INIT_POSTRESET","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":"This is not referenced anywhere. Drop it.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n drivers/block/ide.c          | 9 ---------\n include/ide.h                | 4 ----\n scripts/config_whitelist.txt | 1 -\n 3 files changed, 14 deletions(-)","diff":"diff --git a/drivers/block/ide.c b/drivers/block/ide.c\nindex edcf87b..cea0397 100644\n--- a/drivers/block/ide.c\n+++ b/drivers/block/ide.c\n@@ -792,15 +792,6 @@ void ide_init(void)\n \t/* ATAPI Drives seems to need a proper IDE Reset */\n \tide_reset();\n \n-#ifdef CONFIG_IDE_INIT_POSTRESET\n-\tWATCHDOG_RESET();\n-\n-\tif (ide_init_postreset()) {\n-\t\tputs(\"ide_preinit_postreset failed\\n\");\n-\t\treturn;\n-\t}\n-#endif /* CONFIG_IDE_INIT_POSTRESET */\n-\n \t/*\n \t * Wait for IDE to get ready.\n \t * According to spec, this can take up to 31 seconds!\ndiff --git a/include/ide.h b/include/ide.h\nindex 9b0a4a9..a4be763 100644\n--- a/include/ide.h\n+++ b/include/ide.h\n@@ -51,10 +51,6 @@ ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt,\n int ide_preinit(void);\n #endif\n \n-#ifdef CONFIG_IDE_INIT_POSTRESET\n-int ide_init_postreset(void);\n-#endif\n-\n #if defined(CONFIG_OF_IDE_FIXUP)\n int ide_device_present(int dev);\n #endif\ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex 84dc5c9..440f740 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -1080,7 +1080,6 @@ CONFIG_I2C_RTC_ADDR\n CONFIG_I2C_TIMEOUT\n CONFIG_ICACHE\n CONFIG_ICS307_REFCLK_HZ\n-CONFIG_IDE_INIT_POSTRESET\n CONFIG_IDE_LED\n CONFIG_IDE_PCMCIA\n CONFIG_IDE_PREINIT\n","prefixes":["U-Boot","1/3"]}