[U-Boot] [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

Jagan Teki jagannadh.teki at gmail.com
Thu Dec 14 08:33:12 UTC 2017


On Wed, Dec 13, 2017 at 9:09 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> On Wed, Dec 13, 2017 at 11:33:02AM +0530, Jagan Teki wrote:
>> From: Jagan Teki <jagannadh.teki at gmail.com>
>>
>> Enable FIT_SIGNATURE for sunxi a64.
>>
>> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>> ---
>> Changes for v3:
>> - Move imply outside block
>> Changes for v2:
>> - Use imply instead of select
>>
>>  arch/arm/mach-sunxi/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
>> index 1fededd..05e2d47 100644
>> --- a/arch/arm/mach-sunxi/Kconfig
>> +++ b/arch/arm/mach-sunxi/Kconfig
>> @@ -179,6 +179,7 @@ config MACH_SUN50I
>>       select SUNXI_DRAM_DW_32BIT
>>       select FIT
>>       select SPL_LOAD_FIT
>> +     imply FIT_SIGNATURE
>
> I'm really not sure we should force it by default. How much code size
> is it adding?

Why we need to consider u-boot size? (because it may cross the loader2 size?)
Here is the delta of u-boot elf

before:
text       data        bss        dec        hex    filename
 457378      20248     244160     721786      b037a    u-boot

after:
text       data        bss        dec        hex    filename
 461357      20848     244160     726365      b155d    u-boot


More information about the U-Boot mailing list