
3 Jun
2020
3 Jun
'20
2:50 p.m.
On Tue, 2 Jun 2020 at 13:14, Rasmus Villemoes rasmus.villemoes@prevas.dk wrote:
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).
Signed-off-by: Rasmus Villemoes rasmus.villemoes@prevas.dk
cmd/Kconfig | 6 ++ cmd/Makefile | 1 + cmd/rtc.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+) create mode 100644 cmd/rtc.c
Reviewed-by: Simon Glass sjg@chromium.org