Message ID | 20191014220015.177359-3-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
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; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="SAmuwFn7"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46sXd50xHQz9sPT for <incoming@patchwork.ozlabs.org>; Tue, 15 Oct 2019 09:03:37 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C6A0CC21E53; Mon, 14 Oct 2019 22:01:11 +0000 (UTC) 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=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 63C2DC21DF8; Mon, 14 Oct 2019 22:00:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0DB95C21DFD; Mon, 14 Oct 2019 22:00:25 +0000 (UTC) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by lists.denx.de (Postfix) with ESMTPS id 789E2C21DA1 for <u-boot@lists.denx.de>; Mon, 14 Oct 2019 22:00:23 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id v2so41273686iob.10 for <u-boot@lists.denx.de>; Mon, 14 Oct 2019 15:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sfFbrX3XJVPHa/x95tuoWxCy6YtSeuXL2MMj/xtZ3D4=; b=SAmuwFn7Us+ywEf5vHy8hBu0zC0rwFay945To0QMpSoyuz5gb4DlNry9P3w6kvkffa DAYb+q3Q9F7Kw3md8REWJF4qqmy2VMczXwoph5317qX+CeNRd4AbGfXlxa2DMutzKZEl 9reUJOewuD8AbxMBac7d4QvXLzbr3ZBaSMGc4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sfFbrX3XJVPHa/x95tuoWxCy6YtSeuXL2MMj/xtZ3D4=; b=ZfkOf9yv+a2r17Z1VEntXLgOW6roYsJyBiGFy/+xG0P7hGnHrpng5At5Y5w+UsEC3R 0ne2p6PQxH/x4i7cH8czbB1X9ptcTDhxWPbQUVFcV8sEk77rcPAVouwKs34dUCLzpndz 55WG6wq7DOWwfT8aVOjgAK6FAQWziaFVsrq6ELUHeN/hQ8UXRBi8Hhds1X8REWNBhR7R 8a3GYtrpCvFG5MvNgDVzOna2bgRKcwFUNIv6rVuVjv8y2PoXyB8+LkllbQjP5yIHAPN4 lrgIO6du9j6zOdcLdfXmmQFzg3eT1yC+pjtR8oHjOhV0nI4UTx1U+XyixHMsqVwm+i4I QLdA== X-Gm-Message-State: APjAAAWixrWNJ/mup8uUioX8O8EsPSpMtQejX6wxY3ds03CEkza0DHfj c8+jmjQ7F9P6e0nIbBN7Gx+ms7nwxw4= X-Google-Smtp-Source: APXvYqxX/2ObN+3mzzB/NGuhcRwrdCetGdFTMpugYkgeRNVcc0AjD1Xd67USpLl3xMjSE6+D6lkZXQ== X-Received: by 2002:a6b:d812:: with SMTP id y18mr20218107iob.151.1571090422308; Mon, 14 Oct 2019 15:00:22 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id t9sm15494463iop.86.2019.10.14.15.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 15:00:21 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Mon, 14 Oct 2019 16:00:08 -0600 Message-Id: <20191014220015.177359-3-sjg@chromium.org> X-Mailer: git-send-email 2.23.0.700.g56cf767bdb-goog In-Reply-To: <20191014220015.177359-1-sjg@chromium.org> References: <20191014220015.177359-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 2/9] tiny-printf: Add print_grouped_ull() 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>, <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>, <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> |
Series |
bootstage: TPL and SPL improvements
|
expand
|
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index 632b4249142..430c3255bc5 100644 --- a/lib/tiny-printf.c +++ b/lib/tiny-printf.c @@ -389,3 +389,9 @@ int snprintf(char *buf, size_t size, const char *fmt, ...) return ret; } + +void print_grouped_ull(unsigned long long int_val, int digits) +{ + /* Don't try to ptint the upper 32-bits */ + printf("%ld ", (ulong)int_val); +}
This function is used in the bootstage report which may be triggered in sPL or TPL. Add a very basic implication of this function so that it builds. There is no attempt to get the formatting right, since this would add too much to code size. Signed-off-by: Simon Glass <sjg@chromium.org> --- lib/tiny-printf.c | 6 ++++++ 1 file changed, 6 insertions(+)