Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806551/?format=api
{ "id": 806551, "url": "http://patchwork.ozlabs.org/api/patches/806551/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170828121254.21526-1-marek.vasut+renesas@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "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": "<20170828121254.21526-1-marek.vasut+renesas@gmail.com>", "list_archive_url": null, "date": "2017-08-28T12:12:54", "name": "[U-Boot] ARM: rmobile: Drop board_mmc_init", "commit_ref": "8212f56347e511ad2c9f5c0fcb611d142e4fb5bb", "pull_url": null, "state": "accepted", "archived": false, "hash": "6523880b2cb1b07102ed219dc66c6c868e37b6f9", "submitter": { "id": 1124, "url": "http://patchwork.ozlabs.org/api/people/1124/?format=api", "name": "Marek Vasut", "email": "marek.vasut@gmail.com" }, "delegate": { "id": 1750, "url": "http://patchwork.ozlabs.org/api/users/1750/?format=api", "username": "iwamatsu", "first_name": "Nobuhiro", "last_name": "Iwamatsu", "email": "iwamatsu@nigauri.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170828121254.21526-1-marek.vasut+renesas@gmail.com/mbox/", "series": [ { "id": 152, "url": "http://patchwork.ozlabs.org/api/series/152/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=152", "date": "2017-08-28T12:12:54", "name": "[U-Boot] ARM: rmobile: Drop board_mmc_init", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/152/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806551/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806551/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=\"VHHMP4nW\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgrLV6h7tz9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 22:14:58 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 9B365C224E5; Mon, 28 Aug 2017 12:13:42 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 29780C224E3;\n\tMon, 28 Aug 2017 12:13:30 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 02945C224E5; Mon, 28 Aug 2017 12:13:01 +0000 (UTC)", "from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 75697C224D3\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 12:12:59 +0000 (UTC)", "by mail-wm0-f65.google.com with SMTP id x189so382201wmg.4\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 05:12:59 -0700 (PDT)", "from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz.\n\t[86.49.107.50]) by smtp.gmail.com with ESMTPSA id\n\tx5sm281502wrb.80.2017.08.28.05.12.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 28 Aug 2017 05:12:58 -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:cc:subject:date:message-id;\n\tbh=1sbTevLGzhZJY6NXsswQTQbev3ekLVXN0DcBP0/Up0M=;\n\tb=VHHMP4nW4Ji2UIcs9WyEC0oyD7hnUvuOIhyhHlyMy4rearOiTF3P7BW6Z8ccFZMVzL\n\tVWu6nJQMkS0Un7GEX8uBGgEKtoe61o8BxnGFMVEFx8jUTTxCFbhDgw+Wg759akP6CqRK\n\tJOR//Ein659UI0qhn0Ldy6kcpFlBOzLCU2dBSAix+ARVoRw4pQzy9r+3ZmKUN2dycwTg\n\tYQxH5RAMzwqD0Y4Oc2PvKIWlp9gsm935v/b4SbCaSHSjS3oOfvk6qlgJ2fJglKjT8Bbo\n\t5OLBNZ/gjzMkUy6sYzDZbuHSjDymnDDoaP72hW7AKj3ZHL8M/Th0vDBYSAMgrP4I3djf\n\tUFAg==", "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=1sbTevLGzhZJY6NXsswQTQbev3ekLVXN0DcBP0/Up0M=;\n\tb=t9Dt7n0GUJTm9z6q6KgXSwPR1akk46KktyDvxasIFq+IPbra9JdI3aHa+/1X+G33gM\n\t5AB2k8R6l4iuhxStPWZvKQzH7I09DRidwTeZMl74bLQRceatCGFG2Y33uRI39IDiDCIG\n\tWgKIwldGqZA+HwniLZ0hRzhDBC0PmTnL6XyCc27iTJmKkXFYTAt19n5G+ULqqeWTb8rF\n\tyss2K28DvGEB+iCcE9uckbr46XcVY2s9/5eui6HFxj1XBTpAeq69af3gwQyl6haiJHP0\n\tplE1Ty3JIbP1VCpyOShA3qIrSXMxAhLa+sb88mF03Uek1dmuYshq17F2bCVMzOon6m1g\n\tLy3w==", "X-Gm-Message-State": "AHYfb5gyBKMxIDqyvNcJZp16JttLNp9SNbMrOw1YaeAF8CpcgHjx6rc3\n\tkASGuOxIs3XT8o4vgT4=", "X-Received": "by 10.28.144.4 with SMTP id s4mr220477wmd.89.1503922378938;\n\tMon, 28 Aug 2017 05:12:58 -0700 (PDT)", "From": "Marek Vasut <marek.vasut@gmail.com>", "X-Google-Original-From": "Marek Vasut <marek.vasut+renesas@gmail.com>", "To": "u-boot@lists.denx.de", "Date": "Mon, 28 Aug 2017 14:12:54 +0200", "Message-Id": "<20170828121254.21526-1-marek.vasut+renesas@gmail.com>", "X-Mailer": "git-send-email 2.11.0", "Cc": "Marek Vasut <marek.vasut+renesas@gmail.com>", "Subject": "[U-Boot] [PATCH] ARM: rmobile: Drop board_mmc_init", "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": "The board_mmc_init() is no longer invoked when DM is used, so move\nall the pinmux config into board_init() instead.\n\nSigned-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\n---\n board/renesas/salvator-x/salvator-x.c | 9 ++-------\n board/renesas/ulcb/ulcb.c | 9 ++-------\n 2 files changed, 4 insertions(+), 14 deletions(-)", "diff": "diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c\nindex d8a0d7a8a2..2695de5dbf 100644\n--- a/board/renesas/salvator-x/salvator-x.c\n+++ b/board/renesas/salvator-x/salvator-x.c\n@@ -158,12 +158,7 @@ int board_init(void)\n \tudelay(1);\n #endif\n \n-\treturn 0;\n-}\n-\n-#ifdef CONFIG_SH_SDHI\n-int board_mmc_init(bd_t *bis)\n-{\n+#ifdef CONFIG_MMC\n \t/* SDHI0 */\n \tgpio_request(GPIO_GFN_SD0_DAT0, NULL);\n \tgpio_request(GPIO_GFN_SD0_DAT1, NULL);\n@@ -227,10 +222,10 @@ int board_mmc_init(bd_t *bis)\n \tgpio_request(GPIO_GP_3_14, NULL);\n \tgpio_direction_output(GPIO_GP_3_15, 1);\t/* power on */\n \tgpio_direction_output(GPIO_GP_3_14, 1);\t/* 1: 3.3V, 0: 1.8V */\n+#endif\n \n \treturn 0;\n }\n-#endif\n \n int dram_init(void)\n {\ndiff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c\nindex 695cce9465..2b6cc612c8 100644\n--- a/board/renesas/ulcb/ulcb.c\n+++ b/board/renesas/ulcb/ulcb.c\n@@ -137,12 +137,7 @@ int board_init(void)\n \tudelay(1);\n #endif\n \n-\treturn 0;\n-}\n-\n-#ifdef CONFIG_SH_SDHI\n-int board_mmc_init(bd_t *bis)\n-{\n+#ifdef CONFIG_MMC\n \t/* SDHI0 */\n \tgpio_request(GPIO_GFN_SD0_DAT0, NULL);\n \tgpio_request(GPIO_GFN_SD0_DAT1, NULL);\n@@ -179,10 +174,10 @@ int board_mmc_init(bd_t *bis)\n \tgpio_request(GPIO_GP_5_9, NULL);\n \tgpio_direction_output(GPIO_GP_5_3, 0);\t/* 1: 3.3V, 0: 1.8V */\n \tgpio_direction_output(GPIO_GP_5_9, 0);\t/* 1: 3.3V, 0: 1.8V */\n+#endif\n \n \treturn 0;\n }\n-#endif\n \n int dram_init(void)\n {\n", "prefixes": [ "U-Boot" ] }