commit | 3ea07127d9367250321df33bf9fee2ada362400c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Feb 15 09:35:23 2017 -0700 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Feb 21 18:16:31 2017 +0100 |
tree | a90a7ad421fda70d1d36118cc0ba1cfa11c7bf08 | |
parent | b180cf8b0bce3e0e1eb9c5d78bfc9ef2559a0b22 [diff] |
rtc: m48t86: verify that the RTC is actually present The RTC is an optional feature at purchase time on some Technologic Systems boards. Verify that it actually exists by checking if the last two bytes of the NVRAM can be changed. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>