[U-Boot] [PATCH v2 2/3] common: dfu: ignore reset for spl-dfu

Tom Rini trini at konsulko.com
Tue May 2 12:57:47 UTC 2017


On Tue, May 02, 2017 at 12:41:48PM +0000, B, Ravi wrote:
> 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. 
> 
> >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?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170502/deb11d91/attachment.sig>


More information about the U-Boot mailing list