Tom

>> >> 
>> >> I observed around 7K reduced. 
>> 
>> >I don't just mean dropping out CLI, I mean after dropping out CLI but 
>> >leaving in the reset logic.  That's _still_ 7k?
>> 
>> Without this fix, with cli_simple_run_command(), size of MLO with default 
>> dra7xx_evm_defconfig is 130K.
>> With this fix, compile out cli.c, the MLO size is 126K.
>> Around 4K is space saved.

>OK.  And dropping out CLI and leaving in reset, unconditionally vs dropping 
>out CLI and also dropping reset via DFU, what is the savings there?  Is that 
>3K?

7K provided earlier was wrong calculation. Sorry for confusion.

If unconditionally dropping CLI and use do_reset instead of run_command, I will 
save around 4K. (with this patch v2 series)
If unconditionally dropping CLI and dropping do_reset in SPL-DFU, I will save 
around 5K. (with this patch series + drop do_reset in SPL-DFU unconditionally)

Regards
Ravi  
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to