summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-07-11 15:38:37 +0200
committerTom Rini <[email protected]>2026-07-23 15:15:34 -0600
commitbc61758cbce38921310f668854bb8047f06c8c01 (patch)
treef40dbd53d7581ac8afeb7e494989b9373cab52a7 /doc/develop/bootstd
parentaa4ca3e1bc6ec1367af2f7d08e4ada31c01d8311 (diff)
cmd: date: Handle -ENOSYS return from dm_rtc_reset()
In case dm_rtc_reset() returns -ENOSYS, it means the .reset callback in RTC driver is not implemented, likely because the callback is not needed. Handle the -ENOSYS return code as success and proceed, else the 'date reset' invocation incorrectly prints a bogus warning: "## Failed to set date after RTC reset". Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions