{"id":806642,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806642/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/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},"msgid":"<1503935193-28474-2-git-send-email-agust@denx.de>","date":"2017-08-28T15:46:33","name":"[U-Boot,2/2] spl: do not repeat timer init on i.MX6","commit_ref":"f9d42d821c49e0a12c77c100857b914717b9bc0a","pull_url":null,"state":"accepted","archived":false,"hash":"0101de54f586773fd0eb8558ce571a2363de271e","submitter":{"id":872,"url":"http://patchwork.ozlabs.org/api/1.0/people/872/?format=json","name":"Anatolij Gustschin","email":"agust@denx.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1503935193-28474-2-git-send-email-agust@denx.de/mbox/","series":[{"id":202,"url":"http://patchwork.ozlabs.org/api/1.0/series/202/?format=json","date":"2017-08-28T15:46:32","name":"[U-Boot,1/2] imx: timer: don't clear the GPT control register multiple times","version":1,"mbox":"http://patchwork.ozlabs.org/series/202/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806642/checks/","tags":{},"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 3xgx426W7pz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 01:47:46 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A5BF8C2252B; Mon, 28 Aug 2017 15:46:43 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3146CC22528;\n\tMon, 28 Aug 2017 15:46:26 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 158F5C22029; Mon, 28 Aug 2017 15:46:22 +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 753A5C22453\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 15:46: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 3xgx2Q21w6z1qrMv;\n\tMon, 28 Aug 2017 17:46:22 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xgx2Q1nQkz3jgYM;\n\tMon, 28 Aug 2017 17:46: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 clMVWiINhL2A; Mon, 28 Aug 2017 17:46:21 +0200 (CEST)","from crub.agik.hopto.org (p4FCB44C5.dip0.t-ipconnect.de\n\t[79.203.68.197]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPSA;\n\tMon, 28 Aug 2017 17:46: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.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","X-Virus-Scanned":"amavisd-new at mnet-online.de","X-Auth-Info":"wWmskzvB2AWRJvSJPogvFaj8MyA3j0E6rzqJeCQdwRw=","From":"Anatolij Gustschin <agust@denx.de>","To":"u-boot@lists.denx.de","Date":"Mon, 28 Aug 2017 17:46:33 +0200","Message-Id":"<1503935193-28474-2-git-send-email-agust@denx.de>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1503935193-28474-1-git-send-email-agust@denx.de>","References":"<1503935193-28474-1-git-send-email-agust@denx.de>","Subject":"[U-Boot] [PATCH 2/2] spl: do not repeat timer init on i.MX6","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 GPT timer was already initialised in board_init_f() as\nit is needed in dram init. Do not repeat timer init in\nboard_init_r().\n\nSigned-off-by: Anatolij Gustschin <agust@denx.de>\n---\n common/spl/spl.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/common/spl/spl.c b/common/spl/spl.c\nindex d245cfc..8b219ba 100644\n--- a/common/spl/spl.c\n+++ b/common/spl/spl.c\n@@ -379,7 +379,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)\n \t\tif (spl_init())\n \t\t\thang();\n \t}\n-#ifndef CONFIG_PPC\n+#if !defined(CONFIG_PPC) && !defined(CONFIG_ARCH_MX6)\n \t/*\n \t * timer_init() does not exist on PPC systems. The timer is initialized\n \t * and enabled (decrementer) in interrupt_init() here.\n","prefixes":["U-Boot","2/2"]}