x86: Add an early CMOS access library
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:38 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commit9f1fad1e365f413e4f6f5a608a70be0e6ba95dc8
tree385e28c34a46e6232048baf91996e85923674468
parent3a34cae01160d207d50db267585b963cf0a0018d
x86: Add an early CMOS access library

This adds a library that provides CMOS (inside RTC SRAM) access
at a very early stage when driver model is not available yet.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Roese <sr@denx.de>
arch/x86/include/asm/early_cmos.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/early_cmos.c [new file with mode: 0644]