[PATCH V2] tiny-printf: Improve %X formatting
Tom Rini
trini at konsulko.com
Thu Apr 10 03:46:17 CEST 2025
On Thu, 20 Mar 2025 20:01:47 +0100, Christoph Niedermaier wrote:
> If tiny printf is used with 0x%08X (upper case X) the output is
> always 0x00000000. It could be confusing if upper case instead
> of lower case is used intentionally or accidentally because the
> actual value is not output. To avoid this confusion, treat output
> of %X as %x. As a compromise for tiny printf, the hex value is
> then output correctly, but in lower case. This is done to keep it
> tiny printf small.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] tiny-printf: Improve %X formatting
commit: 51b8679b94ea22ffb91925cf56df1950fd4b0e12
--
Tom
More information about the U-Boot
mailing list