diff options
author | Nandor Han <nandor.han@vaisala.com> | 2021-06-10 16:56:45 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 10:16:39 -0400 |
commit | c74675bd904b6ce9d5820a80f27793c0583fd54c (patch) | |
tree | b9b6e93ebe0d54334e3bf96b70e6a556a01a0f7c /configs/sandbox_defconfig | |
parent | f9db2f16cb6fc7b6d05b0e70de65881bc97ba5c2 (diff) | |
download | u-boot-c74675bd904b6ce9d5820a80f27793c0583fd54c.tar.gz u-boot-c74675bd904b6ce9d5820a80f27793c0583fd54c.tar.bz2 u-boot-c74675bd904b6ce9d5820a80f27793c0583fd54c.zip |
reboot-mode: read the boot mode from RTC memory
RTC devices could provide battery-backed memory that can be used for
storing the reboot mode magic value.
Add a new reboot-mode back-end that uses RTC to store the reboot-mode
magic value. The driver also supports both endianness modes.
Signed-off-by: Nandor Han <nandor.han@vaisala.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/sandbox_defconfig')
-rw-r--r-- | configs/sandbox_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 6931b176ed..1766dc018b 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -292,3 +292,4 @@ CONFIG_UT_TIME=y CONFIG_UT_DM=y CONFIG_DM_REBOOT_MODE=y CONFIG_DM_REBOOT_MODE_GPIO=y +CONFIG_DM_REBOOT_MODE_RTC=y |