{"id":1157052,"url":"http://patchwork.ozlabs.org/api/patches/1157052/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20190903143850.9824-9-lukma@denx.de/","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":"<20190903143850.9824-9-lukma@denx.de>","list_archive_url":null,"date":"2019-09-03T14:38:44","name":"[U-Boot,v2,08/14] ARM: display5: Remove UART initialization code after DM/DTS conversion (non-console)","commit_ref":"1743d6676d2cc50948f7227916d559677e31b546","pull_url":null,"state":"accepted","archived":false,"hash":"c2219e5fbcab90aec192ceb40c4b323e04589ad6","submitter":{"id":70701,"url":"http://patchwork.ozlabs.org/api/people/70701/?format=json","name":"Lukasz Majewski","email":"lukma@denx.de"},"delegate":{"id":1693,"url":"http://patchwork.ozlabs.org/api/users/1693/?format=json","username":"sbabic","first_name":"Stefano","last_name":"Babic","email":"sbabic@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20190903143850.9824-9-lukma@denx.de/mbox/","series":[{"id":128783,"url":"http://patchwork.ozlabs.org/api/series/128783/?format=json","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/1157052/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/1157052/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 46N8q70kBLz9s7T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Sep 2019 00:44:18 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 85782C21D74; Tue,  3 Sep 2019 14:42:27 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8EE9AC21E13;\n\tTue,  3 Sep 2019 14:42:25 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 45372C21E31; Tue,  3 Sep 2019 14:39:25 +0000 (UTC)","from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9])\n\tby lists.denx.de (Postfix) with ESMTPS id E6A76C21E13\n\tfor <u-boot@lists.denx.de>; Tue,  3 Sep 2019 14:39:22 +0000 (UTC)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 46N8jQ5ScKz1rLlr;\n\tTue,  3 Sep 2019 16:39:22 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 46N8jQ51yXz1qqkB;\n\tTue,  3 Sep 2019 16:39:22 +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 Y2OGy-Snt7wR; Tue,  3 Sep 2019 16:39:21 +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:21 +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":"E7hPTuw3QNlLyA4PGZtK2EyEQvSnOgvUmY0wvvzSyWc=","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:44 +0200","Message-Id":"<20190903143850.9824-9-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":"Tom Rini <trini@konsulko.com>","Subject":"[U-Boot] [PATCH v2 08/14] ARM: display5: Remove UART initialization\n\tcode after DM/DTS conversion (non-console)","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 UART is not used in U-Boot, so there is no need to initialize it.\n\nSigned-off-by: Lukasz Majewski <lukma@denx.de>\n---\n\nChanges in v2: None\n\n board/liebherr/display5/common.c   | 13 -------------\n board/liebherr/display5/common.h   |  1 -\n board/liebherr/display5/display5.c |  2 --\n 3 files changed, 16 deletions(-)","diff":"diff --git a/board/liebherr/display5/common.c b/board/liebherr/display5/common.c\nindex d2d174beaa0d..5e714076a49c 100644\n--- a/board/liebherr/display5/common.c\n+++ b/board/liebherr/display5/common.c\n@@ -8,14 +8,6 @@\n #include <asm/arch/mx6-pins.h>\n #include \"common.h\"\n \n-iomux_v3_cfg_t const uart_pads[] = {\n-\t/* UART4 */\n-\tMX6_PAD_CSI0_DAT12__UART4_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),\n-\tMX6_PAD_CSI0_DAT13__UART4_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),\n-\tMX6_PAD_CSI0_DAT16__UART4_RTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),\n-\tMX6_PAD_CSI0_DAT17__UART4_CTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),\n-};\n-\n iomux_v3_cfg_t const uart_console_pads[] = {\n \t/* UART5 */\n \tMX6_PAD_CSI0_DAT14__UART5_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),\n@@ -29,11 +21,6 @@ void displ5_set_iomux_uart_spl(void)\n \tSETUP_IOMUX_PADS(uart_console_pads);\n }\n \n-void displ5_set_iomux_uart(void)\n-{\n-\tSETUP_IOMUX_PADS(uart_pads);\n-}\n-\n iomux_v3_cfg_t const misc_pads_spl[] = {\n \t/* Emergency recovery pin */\n \tMX6_PAD_EIM_D29__GPIO3_IO29 | MUX_PAD_CTRL(NO_PAD_CTRL),\ndiff --git a/board/liebherr/display5/common.h b/board/liebherr/display5/common.h\nindex 2bbd934e7a70..4eb70dc42fb6 100644\n--- a/board/liebherr/display5/common.h\n+++ b/board/liebherr/display5/common.h\n@@ -32,7 +32,6 @@\n \tPAD_CTL_SPEED_HIGH | PAD_CTL_DSE_40ohm | PAD_CTL_SRE_FAST)\n \n void displ5_set_iomux_uart_spl(void);\n-void displ5_set_iomux_uart(void);\n void displ5_set_iomux_ecspi_spl(void);\n void displ5_set_iomux_usdhc_spl(void);\n void displ5_set_iomux_misc_spl(void);\ndiff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c\nindex 541e3e94a5eb..5713401ed954 100644\n--- a/board/liebherr/display5/display5.c\n+++ b/board/liebherr/display5/display5.c\n@@ -174,8 +174,6 @@ int board_init(void)\n \t/* address of boot parameters */\n \tgd->bd->bi_boot_params = PHYS_SDRAM + 0x100;\n \n-\t/* Setup iomux for non console UARTS */\n-\tdispl5_set_iomux_uart();\n \t/* Setup misc (application specific) stuff */\n \tSETUP_IOMUX_PADS(misc_pads);\n \n","prefixes":["U-Boot","v2","08/14"]}