[U-Boot] [PATCH v3 05/12] x86: rtc: mc146818: Add helpers to read/write CMOS RAM

Simon Glass sjg at chromium.org
Sat Jan 24 14:31:32 CET 2015


On 19 January 2015 at 22:16, Simon Glass <sjg at chromium.org> wrote:
> On x86 we use CMOS RAM to read and write some settings. Add basic support
> for this, including access to registers 128-255.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Adjust functions to remain compatible with other RTC drivers
>
> Changes in v2:
> - Adjust the mc146818 driver instead of adding a new cmos.h header
>
>  drivers/rtc/mc146818.c | 121 +++++++++++++++++++++++++++++--------------------
>  include/rtc.h          |  32 +++++++++++++
>  2 files changed, 105 insertions(+), 48 deletions(-)

Applied to u-boot-x86.


More information about the U-Boot mailing list