[U-Boot] [PATCH 12/22] x86: Add an early CMOS access library
Simon Glass
sjg at chromium.org
Tue Mar 21 20:06:51 UTC 2017
Hi Bin,
On 16 March 2017 at 08:26, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
> arch/x86/include/asm/early_cmos.h | 43 +++++++++++++++++++++++++++++++++
> arch/x86/lib/Makefile | 1 +
> arch/x86/lib/early_cmos.c | 51 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 95 insertions(+)
> create mode 100644 arch/x86/include/asm/early_cmos.h
> create mode 100644 arch/x86/lib/early_cmos.c
Is it possible to share code with the existing driver, like we do with
DEBUG_UART?
Regards,
Simon
More information about the U-Boot
mailing list