[PATCH] configs: socfpga: arria10: Disable CONFIG_USE_TINY_PRINTF

Maniyam, Dinesh dinesh.maniyam at altera.com
Wed Mar 4 13:09:04 CET 2026


Hi,

On 4/3/2026 2:58 pm, Dinh Nguyen wrote:
> [CAUTION: This email is from outside your organization. Unless you 
> trust the sender, do not click on links or open attachments as it may 
> be a fraudulent email attempting to steal your information and/or 
> compromise your computer.]
>
> On 3/3/26 21:53, dinesh.maniyam at altera.com wrote:
>> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
>>
>> CONFIG_USE_TINY_PRINTF is enabled by default, disable it.
>> Arria 10 has 256KB of onchip ram and it is enough to support full 
>> printf.
>> Full printf allows us to have more complex format printing, example %ll.
>
> Do you have a size diff for the SPL with this change?
>
> No, disabling CONFIG_SPL_USE_TINY_PRINTF does not introduce a size 
> increase in SPL
> The implementation should be safe and allows richer formatting support 
> when needed.
>>
>> Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
>
> Is the above contact valid? Also, try to just include contacts returned
> from get_maintainer.
>
> I will remove the invalid contact.
>
>> Signed-off-by: Dinesh Maniyam <dinesh.maniyam at altera.com>
>> ---
>>   arch/arm/mach-socfpga/Kconfig     | 1 -
>>   configs/socfpga_arria10_defconfig | 1 +
>>   2 files changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-socfpga/Kconfig 
>> b/arch/arm/mach-socfpga/Kconfig
>> index f2e959b5662..ba01ec08be2 100644
>> --- a/arch/arm/mach-socfpga/Kconfig
>> +++ b/arch/arm/mach-socfpga/Kconfig
>> @@ -101,7 +101,6 @@ config TARGET_SOCFPGA_ARRIA10
>>       select SPL_SYSCON if SPL
>>       select ETH_DESIGNWARE_SOCFPGA
>>       imply FPGA_SOCFPGA
>> -     imply SPL_USE_TINY_PRINTF
>>
>>   config SOCFPGA_ARRIA10_ALWAYS_REPROGRAM
>>       bool "Always reprogram Arria 10 FPGA"
>> diff --git a/configs/socfpga_arria10_defconfig 
>> b/configs/socfpga_arria10_defconfig
>> index b32f40ae408..d5feabe5ce0 100644
>> --- a/configs/socfpga_arria10_defconfig
>> +++ b/configs/socfpga_arria10_defconfig
>> @@ -69,3 +69,4 @@ CONFIG_USB=y
>>   CONFIG_USB_DWC2=y
>>   # CONFIG_SPL_WDT is not set
>>   # CONFIG_TOOLS_MKEFICAPSULE is not set
>> +# CONFIG_USE_TINY_PRINTF is not set
>
> This does not disable CONFIG_SPL_USE_TINY_PRINTF, you need to add this:
>
> # CONFIG_SPL_USE_TINY_PRINTF is not set
>
> Dinh
>
> Yes, you are right!
> I will resubmit v2.
>
> Dinesh
>


More information about the U-Boot mailing list