[U-Boot] [PATCH v2 2/3] common: dfu: ignore reset for spl-dfu
B, Ravi
ravibabu at ti.com
Tue May 2 12:48:36 UTC 2017
>Tom
>>> >>
>>> >> static int dfu_find_alt_num(const char *s)
>>>
>>> >So do we still need the above, in order to save space? How much are we saving here even, now? Thanks!
>>>
>>> I observed around 7K reduced.
Ignore 7K figure provided, that's wrong calculation.
>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.
do_reset() used instead of run_command() for dfu_reset().
Regards
Ravi
More information about the U-Boot
mailing list