From bc602b856d0f70bae006c6eb33e697697d5c2684 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 19 Apr 2023 08:41:24 +0100 Subject: soc/intel/common: Remove superfluous cmos_offset from ramtop Having `_cmos_offset` in a CMOS offset is superfluous; remove it so the CMOS entry is just `ramtop`. Signed-off-by: Sean Rhodes Change-Id: Ibc1e7d78d2e3ae04330d19e64c3437ff07060ea8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74516 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Arthur Heymans --- src/soc/intel/common/basecode/ramtop/ramtop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/intel/common/basecode/ramtop/ramtop.c b/src/soc/intel/common/basecode/ramtop/ramtop.c index 89e84d9891..568526f44e 100644 --- a/src/soc/intel/common/basecode/ramtop/ramtop.c +++ b/src/soc/intel/common/basecode/ramtop/ramtop.c @@ -14,16 +14,16 @@ #define RAMTOP_CMOS_OFFSET 0x64 /* - * Address of the ramtop_cmos_offset byte in CMOS. Should be reserved + * Address of the ramtop byte in CMOS. Should be reserved * in mainboards' cmos.layout and not covered by checksum. */ #if CONFIG(USE_OPTION_TABLE) #include "option_table.h" -#if CMOS_VSTART_ramtop_cmos_offset != RAMTOP_CMOS_OFFSET * 8 +#if CMOS_VSTART_ramtop != RAMTOP_CMOS_OFFSET * 8 #error "CMOS start for RAMTOP_CMOS is not correct, check your cmos.layout" #endif -#if CMOS_VLEN_ramtop_cmos_offset != 12 +#if CMOS_VLEN_ramtop != 12 #error "CMOS length for RAMTOP_CMOS bytes are not correct, check your cmos.layout" #endif #endif -- cgit v1.2.1