[PATCH V4] tiny-printf: Handle formatting of %p with an extra Kconfig

Tom Rini trini at konsulko.com
Thu May 22 21:36:30 CEST 2025


On Thu, 08 May 2025 13:57:25 +0200, Christoph Niedermaier wrote:

> The formatting with %pa / %pap behaves like %x, which results in an
> incorrect value being output. To improve this, a new fine-tuning
> Kconfig SPL_USE_TINY_PRINTF_POINTER_SUPPORT for pointer formatting
> has been added. If it is enabled, the output of %pa / %pap should
> be correct, and if it is disabled, the pointer formatting is
> completely unsupported. In addition to indicate unsupported formatting,
> '?' will be output. This allows enabling pointer formatting only
> when needed. For SPL_NET it is selected by default. Then it also
> supports the formatting with %pm, %pM and %pI4.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] tiny-printf: Handle formatting of %p with an extra Kconfig
      commit: 1e24e84db41afc5beba0a0ef9dd6e0509127b1de
-- 
Tom




More information about the U-Boot mailing list