From: Tom Rini Date: Thu, 21 Mar 2019 07:22:23 -0400 Subject: [U-Boot] [PATCH] lib: tiny-printf: Add "%ll" modifier support In-Reply-To: <1553188334-4497-1-git-send-email-ley.foon.tan@intel.com> References: <1553188334-4497-1-git-send-email-ley.foon.tan@intel.com> Message-ID: <20190321112223.GP18421@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 22, 2019 at 01:12:14AM +0800, Ley Foon Tan wrote: > Add "%ll" modifier support for tiny printf. > > - Tested on ARM32 and ARM64 systems. > - Tested "%lld", "%llu", "%llx" and "%p" format with > minimum and maximum ranges. Compared tiny printf > output with full printf. > > Signed-off-by: Ley Foon Tan > --- > lib/tiny-printf.c | 42 +++++++++++++++++++++++++++++------------- > 1 file changed, 29 insertions(+), 13 deletions(-) What's the use case for this, how much does it grow the size, and can the code in question be changed to use a different format modifier or be debug() instead? Tiny printf isn't intended to cover all formats but rather still allow some amount of printf on constrained systems. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: