aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/os.c
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2022-09-27 11:54:03 +0200
committerStefan Roese <sr@denx.de>2022-10-24 11:09:19 +0200
commit27836705839c4751ac28239ee6fa1f3984e46d4d (patch)
treef2d870bb3ac574bf660add626e36fe8b4c1c6b5e /arch/sandbox/cpu/os.c
parent0ab55cb6f713abeb0b0f0cc1af2d2d16353b5ee0 (diff)
watchdog: introduce a u-boot,autostart property
This is a companion to u-boot,noautostart. If one has a single watchdog device that one does want to have auto-started, but several others that one doesn't, the only way currently is to set the CONFIG_WATCHDOG_AUTOSTART and then use the opt-out for the majority. The main motivation for this is to add an autostarted watchdog device to the sandbox (to test a fix) without having to set AUTOSTART in sandbox_defconfig and add the noautostart property to the existing devices. But it's also nice for symmetry, and the logic in init_watchdog_dev() becomes simpler to read because we avoid all the negations. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'arch/sandbox/cpu/os.c')
0 files changed, 0 insertions, 0 deletions