diff options
| author | Anshul Dalal <[email protected]> | 2026-01-20 10:04:28 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-27 16:11:58 -0600 |
| commit | cfce859b16ffc43c6eb0afb6c49c95e1ec25f5f1 (patch) | |
| tree | 2c89d5cd3c70f6a42355c97f1a9c25845ec976bb | |
| parent | 04854a24aca67f128884ac52f602fe189312638a (diff) | |
Kconfig: select SPL_USE_TINY_PRINTF_POINTER_SUPPORT for K3
Since the commit 1e24e84db41a ("tiny-printf: Handle formatting of %p
with an extra Kconfig"), SPL_USE_TINY_PRINTF_POINTER_SUPPORT has been
made mandatory in order to use %p which would earlier have defaulted to
a 'long' print.
Without this config symbol, k3_sysfw_dfu_download fails to set the
correct value for the DFU string with:
sprintf(dfu_str, "sysfw.itb ram 0x%p 0x%x", addr,
CONFIG_K3_SYSFW_IMAGE_SIZE_MAX);
The value we get "sysfw.itb ram 0x? 0x41c29d40" causes a boot failure.
Therefore this patch sets SPL_USE_TINY_PRINTF_POINTER_SUPPORT for all K3
devices since the size impact is less than 100 bytes.
Signed-off-by: Anshul Dalal <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
| -rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ea1a9b4e8c6..02f21f1c083 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -829,6 +829,7 @@ config ARCH_K3 select DMA_ADDR_T_64BIT select LTO select SPL_LOAD_FIT if SPL + select SPL_USE_TINY_PRINTF_POINTER_SUPPORT if SPL_USE_TINY_PRINTF && DFU && CPU_V7R imply TI_SECURE_DEVICE imply DM_RNG if ARM64 imply TEE if ARM64 |
