[PATCH u-boot v2 32/38] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)

Adam Ford aford173 at gmail.com
Sat Mar 13 18:34:51 CET 2021


On Sat, Mar 13, 2021 at 10:05 AM Marek Behun <marek.behun at nic.cz> wrote:
>
> On Sat, 13 Mar 2021 09:23:05 -0600
> Adam Ford <aford173 at gmail.com> wrote:
>
> > I have tested this on omap35_logic_somlv and the LTO flag removal
> > isn't necessary for the clock.o
> > Having the clock built with LTO saves 239 bytes in SPL with my
> > compiler.  It's not a huge savings, but in SPL, we need as much as
> > possible.
>
> So I can drop this patch?

Drop the LTO stuff for clock.o, but keep the LTO stuff for board.o

adam
> Marek


More information about the U-Boot mailing list