rtc: add rtc command
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 6 Jul 2020 20:01:15 +0000 (22:01 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 9 Jul 2020 04:02:45 +0000 (06:02 +0200)
commit803a859884b73dbc10826ed26fbf62d487ddc5c7
tree61b92770f773494abb2229196202a46dfc6d31d5
parent29f965a7ec2bc32be3282eac0645b6e5ea2112ab
rtc: add rtc command

Mostly as an aid for debugging RTC drivers, provide a command that can
be used to read/write arbitrary registers (assuming the driver
provides the read/write methods or their single-register-at-a-time
variants).

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
cmd/Kconfig
cmd/Makefile
cmd/rtc.c [new file with mode: 0644]