mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
tiny-printf: Add print_grouped_ull()
This function is used in the bootstage report which may be trigged in TPL 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 code size. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
1c1c8a3a99
commit
dee74e6cc4
1 changed files with 6 additions and 0 deletions
|
@ -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 print the upper 32-bits */
|
||||
printf("%ld ", (ulong)int_val);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue