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>
This commit is contained in:
parent
b327425420
commit
bc602b856d
|
@ -14,16 +14,16 @@
|
||||||
#define RAMTOP_CMOS_OFFSET 0x64
|
#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.
|
* in mainboards' cmos.layout and not covered by checksum.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if CONFIG(USE_OPTION_TABLE)
|
#if CONFIG(USE_OPTION_TABLE)
|
||||||
#include "option_table.h"
|
#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"
|
#error "CMOS start for RAMTOP_CMOS is not correct, check your cmos.layout"
|
||||||
#endif
|
#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"
|
#error "CMOS length for RAMTOP_CMOS bytes are not correct, check your cmos.layout"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue