coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cmos.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * Address of the MRC status byte in CMOS. Should be reserved
5  * in mainboards' cmos.layout and not covered by checksum.
6  */
7 
8 #if CONFIG(USE_OPTION_TABLE)
9 #include "option_table.h"
10 #if CMOS_VSTART_cbnt_cmos != CONFIG_INTEL_CBNT_CMOS_OFFSET * 8
11 #error "CMOS start for CBNT CMOS is not correct, check your cmos.layout"
12 #endif
13 #if CMOS_VLEN_cbnt_cmos != 16
14 #error "CMOS length for CBNT CMOS bytes are not correct, check your cmos.layout"
15 #endif
16 #endif