diff options
author | Sean Rhodes <sean@starlabs.systems> | 2023-04-19 08:41:24 +0100 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-05-12 08:34:44 +0000 |
commit | bc602b856d0f70bae006c6eb33e697697d5c2684 (patch) | |
tree | d9238f83f272e2d0a9008cd84e523527e0ae8c28 /src/soc/intel | |
parent | b327425420b30ed90a5dfbe3ce10312b3dd9dd3c (diff) |
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 <sean@starlabs.systems>
Change-Id: Ibc1e7d78d2e3ae04330d19e64c3437ff07060ea8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74516
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/common/basecode/ramtop/ramtop.c | 6 |
1 files 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 |