[PATCH v3 06/10] rtc: add rtc command

Simon Glass sjg at chromium.org
Wed Jun 3 14:50:16 CEST 2020


On Tue, 2 Jun 2020 at 13:14, Rasmus Villemoes
<rasmus.villemoes at 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 at 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 at chromium.org>


More information about the U-Boot mailing list