projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c87e626
)
reboot-mode: must depend on CONFIG_DM_RTC
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Tue, 9 Apr 2024 18:44:22 +0000
(20:44 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 18 Apr 2024 22:37:06 +0000
(16:37 -0600)
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 <heinrich.schuchardt@canonical.com>
drivers/reboot-mode/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/reboot-mode/Kconfig
b/drivers/reboot-mode/Kconfig
index d57baacc93d1203ece50abc44c7c774a7d3f89fe..bb5189351881d82df3613583cc6ec5c59a32b78d 100644
(file)
--- 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