[PATCH v2 1/2] Makefile: provide constant with seconds since epoch
Simon Glass
sjg at chromium.org
Tue Oct 27 05:52:31 CET 2020
On Sun, 25 Oct 2020 at 01:13, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Provide a constant U_BOOT_EPOCH with the number of seconds since
> 1970-01-01. This constant can be used to initialize a software
> real time clock until it is updated via the 'sntp' command.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
> new patch
> ---
> Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list