diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-04-09 20:44:22 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-18 16:37:06 -0600 |
| commit | a1802b3ce160026e7214cf7c56c529bc6500a898 (patch) | |
| tree | 598f6d5b510aca7e2cc57c2fd48665a296aaabfb | |
| parent | c87e626f9436a22bc20670dc463579b4f5bab8e7 (diff) | |
reboot-mode: must depend on CONFIG_DM_RTC
Reading the boot mode from RTC memory requires a real time clock.
Add the missing Kconfig dependency.
Fixes: c74675bd904b ("reboot-mode: read the boot mode from RTC memory")
Signed-off-by: Heinrich Schuchardt <[email protected]>
| -rw-r--r-- | drivers/reboot-mode/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reboot-mode/Kconfig b/drivers/reboot-mode/Kconfig index d57baacc93d..bb518935188 100644 --- a/drivers/reboot-mode/Kconfig +++ b/drivers/reboot-mode/Kconfig @@ -24,6 +24,7 @@ config DM_REBOOT_MODE_GPIO config DM_REBOOT_MODE_RTC bool "Use RTC as reboot mode backend" + depends on DM_RTC depends on DM_REBOOT_MODE help Use RTC non volatile memory to control the reboot mode. This will allow users to boot |
