xref: /aosp_15_r20/external/coreboot/src/security/intel/cbnt/cmos.c (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
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
17