{"id":808248,"url":"http://patchwork.ozlabs.org/api/patches/808248/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504185377-461-1-git-send-email-fb@ltec.ch/","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":"<1504185377-461-1-git-send-email-fb@ltec.ch>","list_archive_url":null,"date":"2017-08-31T13:16:17","name":"[U-Boot] arm: am33xx: Make pin multiplexing functions optional","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"2fe538081a1a8501441781d6e04c0ada85060a7b","submitter":{"id":70195,"url":"http://patchwork.ozlabs.org/api/people/70195/?format=json","name":"Felix Brack","email":"fb@ltec.ch"},"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/1504185377-461-1-git-send-email-fb@ltec.ch/mbox/","series":[{"id":826,"url":"http://patchwork.ozlabs.org/api/series/826/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=826","date":"2017-08-31T13:16:17","name":"[U-Boot] arm: am33xx: Make pin multiplexing functions optional","version":1,"mbox":"http://patchwork.ozlabs.org/series/826/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/808248/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808248/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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjjcN07Tsz9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 23:18:27 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid B716EC21DC4; Thu, 31 Aug 2017 13:18:19 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 2B8AFC21D99;\n\tThu, 31 Aug 2017 13:18:17 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid D8159C21D99; Thu, 31 Aug 2017 13:18:15 +0000 (UTC)","from mail.ltec.ch (mail.ltec.ch [95.143.48.181])\n\tby lists.denx.de (Postfix) with ESMTPS id 76068C21D93\n\tfor <u-boot@lists.denx.de>; Thu, 31 Aug 2017 13:18:15 +0000 (UTC)","from nebula.ltec ([172.27.11.2] helo=vm64.ltec)\n\tby mail.ltec.ch with esmtpsa\n\t(TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128)\n\t(Exim 4.84_2) (envelope-from <fb@ltec.ch>)\n\tid 1dnPMq-0006Fa-8K; Thu, 31 Aug 2017 15:18:44 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Felix Brack <fb@ltec.ch>","To":"u-boot@lists.denx.de","Date":"Thu, 31 Aug 2017 15:16:17 +0200","Message-Id":"<1504185377-461-1-git-send-email-fb@ltec.ch>","X-Mailer":"git-send-email 2.7.4","Cc":"trini@konsulko.com, Albert Aribaud <albert.u.boot@aribaud.net>","Subject":"[U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions\n\toptional","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":"Boards using the single-register-pin-controller can  configure all\npins by means of the device tree. This renders the implementation of\nthe two functions set_uart_mux_conf and set_mux_conf_regs obsolete.\nUsing the weak attribute for these two function declarations allows\nthe omission of the respective definitions.\n\nSigned-off-by: Felix Brack <fb@ltec.ch>\n---\n\n arch/arm/include/asm/arch-am33xx/sys_proto.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h\nindex 4e78aaf..e31c25c 100644\n--- a/arch/arm/include/asm/arch-am33xx/sys_proto.h\n+++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h\n@@ -31,8 +31,8 @@ void enable_gpmc_cs_config(const u32 *gpmc_config, const struct gpmc_cs *cs, u32\n \t\t\tu32 size);\n int omap_nand_switch_ecc(uint32_t, uint32_t);\n \n-void set_uart_mux_conf(void);\n-void set_mux_conf_regs(void);\n+__weak void set_uart_mux_conf(void);\n+__weak void set_mux_conf_regs(void);\n void sdram_init(void);\n u32 wait_on_value(u32, u32, void *, u32);\n #ifdef CONFIG_NOR_BOOT\n","prefixes":["U-Boot"]}