Re: [PATCH 2/2] rtc: initialize emulated RTC from environment variable

2020-11-03 Thread Simon Glass
On Thu, 29 Oct 2020 at 21:20, Heinrich Schuchardt wrote: > > Up to now the emulated RTC is initialized using the U-Boot build time. > > With this patch the environment variable 'rtc_emul_epoch' can be used to > provide a better initial time. The variable is a decimal string with > the number of se

[PATCH 2/2] rtc: initialize emulated RTC from environment variable

2020-10-29 Thread Heinrich Schuchardt
Up to now the emulated RTC is initialized using the U-Boot build time. With this patch the environment variable 'rtc_emul_epoch' can be used to provide a better initial time. The variable is a decimal string with the number of seconds since 1970-01-01. Here is an example where the RTC had not been