Skip to content
Commit 546795b5 authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

rtc: abx8xx: Add support for reading RAM



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: default avatarSean Anderson <sean.anderson@seco.com>
parent c9c42ad2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment