[U-Boot] [RFC PATCH 4/6] porter_defconfig: Enable tiny printf

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Wed Nov 28 20:34:33 UTC 2018


On 28.11.2018 18:52, Marek Vasut wrote:
> On 11/28/2018 06:26 PM, Vignesh R wrote:
>> Enable tiny printf to reduce SPL foot print
> This should be enabled already on Gen2, no ?
> Anyway, what's the size growth on Gen2 with the new Linux SF framework ?

After downloading the missing patch 1/6 from github and testing it on 
socfpga gen5, my SPL got ~2500 byte larger.

While I think porting this from Linux is the right thing to do, I can't 
say I'm happy with losing yet another 2.5 kB for SPL when it is already 
too stuffed to add secure boot via FIT signatures.

Regards,
Simon

>
>> Signed-off-by: Vignesh R <vigneshr at ti.com>
>> ---
>>   configs/porter_defconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/configs/porter_defconfig b/configs/porter_defconfig
>> index d51db3d5cb28..14af0f69a278 100644
>> --- a/configs/porter_defconfig
>> +++ b/configs/porter_defconfig
>> @@ -87,3 +87,4 @@ CONFIG_DM_USB=y
>>   CONFIG_USB_EHCI_HCD=y
>>   CONFIG_USB_EHCI_PCI=y
>>   CONFIG_USB_STORAGE=y
>> +CONFIG_USE_TINY_PRINTF=y
>>
>



More information about the U-Boot mailing list