summaryrefslogtreecommitdiff
path: root/drivers/reboot-mode/reboot-mode-rtc.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-23reboot-mode: read the boot mode from RTC memoryNandor Han1-0/+127
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>