diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-30 20:07:48 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-31 00:25:42 +0300 |
commit | 43db07507abdb54b6575345300c171b0486e46be (patch) | |
tree | 7c6ba06d302c3cc443b6f7cf73bd8ff7b4ea69f7 /doc/arch | |
parent | 5e6c9029cdeae72eeeb4e05caa4ce3d48e2e86fb (diff) | |
download | u-boot-43db07507abdb54b6575345300c171b0486e46be.tar.xz |
sandbox: keep time offset when resetting
The UEFI Self Certification Test (SCT) checks the SetTime() service with
the following steps:
* set date
* reset
* check date matches
To be compliant the sandbox should keep the offset to the host RTC during
resets. The implementation uses the environment variable
UBOOT_SB_TIME_OFFSET to persist the offset.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/arch')
-rw-r--r-- | doc/arch/sandbox.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/arch/sandbox.rst b/doc/arch/sandbox.rst index 1a7801af02..60ee1e0741 100644 --- a/doc/arch/sandbox.rst +++ b/doc/arch/sandbox.rst @@ -131,6 +131,13 @@ available options. Some of these are described below: -i Go to interactive mode after executing the commands specified by -c. +Environment Variables +--------------------- + +UBOOT_SB_TIME_OFFSET + This environment variable stores the offset of the emulated real time clock + to the host's real time clock in seconds. The offset defaults to zero. + Memory Emulation ---------------- |