From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 9 Jul 2020 10:37:30 +0200 Subject: [PATCH v4 06/11] rtc: add rtc command In-Reply-To: <20200706200120.23093-7-rasmus.villemoes@prevas.dk> References: <20200706200120.23093-1-rasmus.villemoes@prevas.dk> <20200706200120.23093-7-rasmus.villemoes@prevas.dk> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Rasmus, Am 06.07.2020 um 22:01 schrieb Rasmus Villemoes: > 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 > Reviewed-by: Heiko Schocher > Signed-off-by: Rasmus Villemoes > --- > cmd/Kconfig | 6 ++ > cmd/Makefile | 1 + > cmd/rtc.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 174 insertions(+) > create mode 100644 cmd/rtc.c Applied to u-boot-i2c.git master Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de