Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1157047/?format=api
{ "id": 1157047, "url": "http://patchwork.ozlabs.org/api/patches/1157047/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190903143850.9824-6-lukma@denx.de/", "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": "<20190903143850.9824-6-lukma@denx.de>", "list_archive_url": null, "date": "2019-09-03T14:38:41", "name": "[U-Boot,v2,05/14] DM: mmc: Switch display5 board to use DM_MMC and BLK (USDHC)", "commit_ref": "19e874c6d75b58f7707b0b80a7fcbf5dbdf750bc", "pull_url": null, "state": "accepted", "archived": false, "hash": "770f9c583724541578fdb949334661dda8e30f33", "submitter": { "id": 70701, "url": "http://patchwork.ozlabs.org/api/people/70701/?format=api", "name": "Lukasz Majewski", "email": "lukma@denx.de" }, "delegate": { "id": 1693, "url": "http://patchwork.ozlabs.org/api/users/1693/?format=api", "username": "sbabic", "first_name": "Stefano", "last_name": "Babic", "email": "sbabic@denx.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190903143850.9824-6-lukma@denx.de/mbox/", "series": [ { "id": 128783, "url": "http://patchwork.ozlabs.org/api/series/128783/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=128783", "date": "2019-09-03T14:38:36", "name": "DM: display5: Convert display5 board to DM/DTS (including 'factory' setup)", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/128783/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1157047/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1157047/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\tdmarc=none (p=none dis=none) header.from=denx.de" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 46N8mf1LwNz9s7T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 4 Sep 2019 00:42:09 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 6FC2FC21DD9; Tue, 3 Sep 2019 14:39:43 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5C9BDC21DC1;\n\tTue, 3 Sep 2019 14:39:28 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 82732C21E16; Tue, 3 Sep 2019 14:39:20 +0000 (UTC)", "from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10])\n\tby lists.denx.de (Postfix) with ESMTPS id 73D9AC21D9A\n\tfor <u-boot@lists.denx.de>; Tue, 3 Sep 2019 14:39:17 +0000 (UTC)", "from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 46N8jK1X8cz1rW6F;\n\tTue, 3 Sep 2019 16:39:17 +0200 (CEST)", "from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 46N8jK09kFz1qqkB;\n\tTue, 3 Sep 2019 16:39:17 +0200 (CEST)", "from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id ZRoWWE3WE1a3; Tue, 3 Sep 2019 16:39:15 +0200 (CEST)", "from localhost.localdomain (85-222-111-42.dynamic.chello.pl\n\t[85.222.111.42])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tTue, 3 Sep 2019 16:39:15 +0200 (CEST)" ], "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "X-Virus-Scanned": "amavisd-new at mnet-online.de", "X-Auth-Info": "fB6/w/wkwAC9xtE/8BTKryhciaY2Xg+5DParlTxD5Pg=", "From": "Lukasz Majewski <lukma@denx.de>", "To": "u-boot@lists.denx.de,\n\tStefano Babic <sbabic@denx.de>", "Date": "Tue, 3 Sep 2019 16:38:41 +0200", "Message-Id": "<20190903143850.9824-6-lukma@denx.de>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20190903143850.9824-1-lukma@denx.de>", "References": "<20190903143850.9824-1-lukma@denx.de>", "Cc": "Marek Vasut <marex@denx.de>, Parthiban Nallathambi <parthitce@gmail.com>,\n\tOtavio Salvador <otavio@ossystems.com.br>,\n\tMartyn Welch <martyn@welchs.me.uk>, \n\t\"NXP i.MX U-Boot Team\" <uboot-imx@nxp.com>,\n\tFabien Lahoudere <fabien.lahoudere@collabora.com>", "Subject": "[U-Boot] [PATCH v2 05/14] DM: mmc: Switch display5 board to use\n\tDM_MMC and BLK (USDHC)", "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": "After this commit the display5 device would use eMMC driver supporting\ndriver model (DM_MMC and BLK).\n\nSigned-off-by: Lukasz Majewski <lukma@denx.de>\n---\n\nChanges in v2: None\n\n arch/arm/mach-imx/mx6/Kconfig | 1 +\n board/liebherr/display5/common.c | 6 ------\n board/liebherr/display5/common.h | 1 -\n board/liebherr/display5/display5.c | 22 ----------------------\n 4 files changed, 1 insertion(+), 29 deletions(-)", "diff": "diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig\nindex 39f0e548f5f1..2496ecacb104 100644\n--- a/arch/arm/mach-imx/mx6/Kconfig\n+++ b/arch/arm/mach-imx/mx6/Kconfig\n@@ -188,6 +188,7 @@ config TARGET_DISPLAY5\n \tbool \"LWN DISPLAY5 board\"\n \tselect DM\n \tselect DM_I2C\n+\tselect DM_MMC\n \tselect DM_GPIO\n \tselect DM_SERIAL\n \tselect SUPPORT_SPL\ndiff --git a/board/liebherr/display5/common.c b/board/liebherr/display5/common.c\nindex 8390d9a0f31c..754c442427f8 100644\n--- a/board/liebherr/display5/common.c\n+++ b/board/liebherr/display5/common.c\n@@ -109,12 +109,6 @@ void displ5_set_iomux_usdhc_spl(void)\n \tSETUP_IOMUX_PADS(usdhc4_pads);\n }\n \n-void displ5_set_iomux_usdhc(void)\n-{\n-\tSETUP_IOMUX_PADS(usdhc4_pads);\n-}\n-\n #else\n void displ5_set_iomux_usdhc_spl(void) {}\n-void displ5_set_iomux_usdhc(void) {}\n #endif\ndiff --git a/board/liebherr/display5/common.h b/board/liebherr/display5/common.h\nindex 78c64b02e280..231cefc96009 100644\n--- a/board/liebherr/display5/common.h\n+++ b/board/liebherr/display5/common.h\n@@ -36,7 +36,6 @@ void displ5_set_iomux_uart(void);\n void displ5_set_iomux_ecspi_spl(void);\n void displ5_set_iomux_ecspi(void);\n void displ5_set_iomux_usdhc_spl(void);\n-void displ5_set_iomux_usdhc(void);\n void displ5_set_iomux_misc_spl(void);\n \n #endif /* __DISPL5_COMMON_H_ */\ndiff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c\nindex 5ebc8529e9c7..0cc77dac0fa1 100644\n--- a/board/liebherr/display5/display5.c\n+++ b/board/liebherr/display5/display5.c\n@@ -20,8 +20,6 @@\n #include <asm/mach-imx/iomux-v3.h>\n #include <asm/mach-imx/boot_mode.h>\n #include <asm/mach-imx/spi.h>\n-#include <mmc.h>\n-#include <fsl_esdhc_imx.h>\n #include <miiphy.h>\n #include <netdev.h>\n #include <i2c.h>\n@@ -142,26 +140,6 @@ iomux_v3_cfg_t const misc_pads[] = {\n \tMX6_PAD_EIM_D29__GPIO3_IO29 | MUX_PAD_CTRL(NO_PAD_CTRL),\n };\n \n-#ifdef CONFIG_FSL_ESDHC_IMX\n-struct fsl_esdhc_cfg usdhc_cfg[1] = {\n-\t{ USDHC4_BASE_ADDR, 0, 8, },\n-};\n-\n-int board_mmc_getcd(struct mmc *mmc)\n-{\n-\treturn 1;\n-}\n-\n-int board_mmc_init(bd_t *bis)\n-{\n-\tdispl5_set_iomux_usdhc();\n-\n-\tusdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC4_CLK);\n-\n-\treturn fsl_esdhc_initialize(bis, &usdhc_cfg[0]);\n-}\n-#endif /* CONFIG_FSL_ESDHC_IMX */\n-\n static void displ5_setup_ecspi(void)\n {\n \tint ret;\n", "prefixes": [ "U-Boot", "v2", "05/14" ] }