[{"id":1766885,"web_url":"http://patchwork.ozlabs.org/comment/1766885/","msgid":"<E1dripd-0006lw-11@mail.theobroma-systems.com>","list_archive_url":null,"date":"2017-09-12T10:54:17","subject":"Re: [U-Boot] [U-Boot, v3,\n\t08/19] rockchip: timer: implement timer_get_boot_us","submitter":{"id":53488,"url":"http://patchwork.ozlabs.org/api/people/53488/","name":"Philipp Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"content":"> To make the Rockchip DM timer driver useful for the timing of\n> bootstages, we need a few enhancements:\n>  - This implements timer_get_boot_us.\n>  - This avoids reinitialising the timer, if it has already been\n>    set up (e.g. by our TPL and SPL stages). Now, we have a single\n>    timebase ticking from TPL through the full U-Boot.\n>  - This adds support for reading the timer even before the\n>    device-model is ready: we find the timer via /chosen/tick-timer,\n>    then read its address and clock-frequency, and finally read the\n>    timeval directly).\n> \n> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n> Reviewed-by: Simon Glass <sjg@chromium.org>\n> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n> ---\n> \n> Changes in v3: None\n> Changes in v2: None\n> \n>  drivers/timer/rockchip_timer.c | 72 +++++++++++++++++++++++++++++++++++++++---\n>  1 file changed, 67 insertions(+), 5 deletions(-)\n> \n\nApplied to u-boot-rockchip, thanks!","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 3xs1wT4j3Tz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 20:57:45 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 62F00C21F14; Tue, 12 Sep 2017 10:56:10 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 308A2C2205B;\n\tTue, 12 Sep 2017 10:54:48 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 771E0C21EF0; Tue, 12 Sep 2017 10:54:18 +0000 (UTC)","from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id 13788C22009\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 10:54:18 +0000 (UTC)","from [86.59.122.178] (port=52457 helo=vpn-10-11-0-14.lan)\n\tby mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80)\n\t(envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1dripd-0006lw-11; Tue, 12 Sep 2017 12:54:17 +0200"],"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","MIME-Version":"1.0","From":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","To":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","In-Reply-To":"<1505160270-10650-9-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1505160270-10650-9-git-send-email-philipp.tomsich@theobroma-systems.com>","Message-Id":"<E1dripd-0006lw-11@mail.theobroma-systems.com>","Date":"Tue, 12 Sep 2017 12:54:17 +0200","Cc":"u-boot@lists.denx.de, Klaus Goger <klaus.goger@theobroma-systems.com>","Subject":"Re: [U-Boot] [U-Boot, v3,\n\t08/19] rockchip: timer: implement timer_get_boot_us","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>"}}]