[PATCH 2/5] lib: date functions in SPL

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Apr 16 18:30:48 CEST 2020

On 4/16/20 4:32 AM, Tom Rini wrote:
> On Wed, Apr 15, 2020 at 06:46:20PM +0200, Heinrich Schuchardt wrote:
>> Date functions are only needed in SPL if SPL contains RTC drivers.
>> Fixes: 05429b6cf5b3 ("rtc: move date.c from drivers/rtc/ to lib/")
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Does this show up as a problem somewhere?  I don't see this resulting in
> size savings anywhere, thanks.

We are compiling ./spl/lib/date.o for no good reason since said patch.
It may be that the when creating u-boot-spl.bin from u-boot-spl this
gets deleted again due to linker optimization.

Best regards


More information about the U-Boot mailing list