summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-08-01 07:58:46 -0600
committerTom Rini <trini@konsulko.com>2022-09-02 16:21:44 -0400
commitc4d7247a389ae2770ddcdada5143401068a696c0 (patch)
tree39c5bc98b3a4dfbd36e0f0fb0e935d0d91c9c7b2 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parentea94d053e19ee3341301cf999a8dd78e37b83cca (diff)
dm: rtc: Avoid a race in the rtc_reset test
Since resetting the RTC on sandbox causes it to read the base time from the system, we cannot rely on this being unchanged since it was last read. Allow for a one-second delay. Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Fixes: https://source.denx.de/u-boot/u-boot/-/issues/4 Reported-by: Bin Meng <bmeng.cn@gmail.com> Reported-by: Tom Rini <trini@konsulko.com> Suggested-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions