
21 Mar
2017
21 Mar
'17
9:06 p.m.
Hi Bin,
On 16 March 2017 at 08:26, Bin Meng bmeng.cn@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@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