{"id":814395,"url":"http://patchwork.ozlabs.org/api/1.2/patches/814395/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170915201648.16866-1-joerg.krause@embedded.rocks/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<20170915201648.16866-1-joerg.krause@embedded.rocks>","list_archive_url":null,"date":"2017-09-15T20:16:48","name":"[U-Boot,v2] net/tftp: fix build if CMD_BOOTEFI is not set","commit_ref":"64b8d7a677ce625c7dd30c040b32b606aea61745","pull_url":null,"state":"accepted","archived":false,"hash":"ec1c5acacaa086adbfcf1487e00c80b0ef1af943","submitter":{"id":65665,"url":"http://patchwork.ozlabs.org/api/1.2/people/65665/?format=json","name":"Jörg Krause","email":"joerg.krause@embedded.rocks"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170915201648.16866-1-joerg.krause@embedded.rocks/mbox/","series":[{"id":3380,"url":"http://patchwork.ozlabs.org/api/1.2/series/3380/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3380","date":"2017-09-15T20:16:48","name":"[U-Boot,v2] net/tftp: fix build if CMD_BOOTEFI is not set","version":2,"mbox":"http://patchwork.ozlabs.org/series/3380/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814395/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814395/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 3xv6BT0S4Nz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 06:17:03 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 433E3C21F16; Fri, 15 Sep 2017 20:16:57 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BD74CC21D8B;\n\tFri, 15 Sep 2017 20:16:55 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 66486C21D8B; Fri, 15 Sep 2017 20:16:54 +0000 (UTC)","from mout02.posteo.de (mout02.posteo.de [185.67.36.142])\n\tby lists.denx.de (Postfix) with ESMTPS id 226CAC21C62\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 20:16:54 +0000 (UTC)","from customer (localhost [127.0.0.1])\n\tby submission (posteo.de) with ESMTPSA id 3xv6BD65ktz100b;\n\tFri, 15 Sep 2017 22:16:52 +0200 (CEST)","from mail.embedded.rocks ([127.0.0.1])\n\tby localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new,\n\tport 10025)\n\twith ESMTP id MxyXEJ8yI_OQ; Fri, 15 Sep 2017 22:16:51 +0200 (CEST)","from nzxt.fritz.box (port-92-195-72-91.dynamic.qsc.de\n\t[92.195.72.91]) (Authenticated sender: joerg.krause@embedded.rocks)\n\tby mail.embedded.rocks (Postfix) with ESMTPSA;\n\tFri, 15 Sep 2017 22:16:51 +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=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"=?utf-8?q?J=C3=B6rg_Krause?= <joerg.krause@embedded.rocks>","To":"u-boot@lists.denx.de","Date":"Fri, 15 Sep 2017 22:16:48 +0200","Message-Id":"<20170915201648.16866-1-joerg.krause@embedded.rocks>","X-Mailer":"git-send-email 2.14.1","MIME-Version":"1.0","Subject":"[U-Boot] [PATCH v2] net/tftp: fix build if CMD_BOOTEFI is not set","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>","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":"Fixes:\nnet/tftp.c:811: undefined reference to `efi_set_bootdev'\n\nSigned-off-by: Jörg Krause <joerg.krause@embedded.rocks>\n---\nv2:\n * remove ifdef for efi header file (suggested by Bin Weng)\n---\n net/tftp.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/net/tftp.c b/net/tftp.c\nindex a5ed8c5d0a..6671b1f7ca 100644\n--- a/net/tftp.c\n+++ b/net/tftp.c\n@@ -805,7 +805,9 @@ void tftp_start(enum proto_t protocol)\n \t\tprintf(\"Load address: 0x%lx\\n\", load_addr);\n \t\tputs(\"Loading: *\\b\");\n \t\ttftp_state = STATE_SEND_RRQ;\n+#ifdef CONFIG_CMD_BOOTEFI\n \t\tefi_set_bootdev(\"Net\", \"\", tftp_filename);\n+#endif\n \t}\n \n \ttime_start = get_timer(0);\n","prefixes":["U-Boot","v2"]}