[PATCH] rtc: abx8xx: Add support for reading RAM

Tom Rini trini at konsulko.com
Thu Jan 12 16:17:42 CET 2023


On Fri, Dec 02, 2022 at 10:35:19AM -0500, Sean Anderson wrote:

> This adds support for reading the battery-backed memory present on these
> RTCs. This modifies the read/write methods to access the RAM instead of
> raw register offsets. No one was using these in-tree, so we should be
> fine changing them.
> 
> We use the "standard" address space window to access the RAM. The
> extension RAM address register has some reserved bits, but we write the
> whole thing for simplicity (as these bits default to 0).
> 
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230112/dcc13be2/attachment.sig>


More information about the U-Boot mailing list