From 7233ad57e66c0e712ce6356dbe43a5c7f9308f3f Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 10 Jul 2024 18:12:40 +0000 Subject: [PATCH] soc/intel/cmn/cse: Correct CMOS error message for CSE partition firmware The CMOS entry for CSE partition firmware was incorrectly labeled as `ramtop` and `partition firmware` in the error messages. This patch corrects the messages to accurately refer to `CSE partition firmware`. Additionally, the alignment and size check comments are updated to reflect this change. Change-Id: Ib3a7fb88f52c4d0c47d828bcd1c4649e62d19654 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/83415 Tested-by: build bot (Jenkins) Reviewed-by: Dinesh Gehlot --- src/soc/intel/common/block/cse/cse_lite_cmos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/common/block/cse/cse_lite_cmos.c b/src/soc/intel/common/block/cse/cse_lite_cmos.c index 5c26c01360..bcd9ac0f22 100644 --- a/src/soc/intel/common/block/cse/cse_lite_cmos.c +++ b/src/soc/intel/common/block/cse/cse_lite_cmos.c @@ -16,11 +16,11 @@ # include "option_table.h" #ifndef CMOS_VSTART_partition_fw -#error "The `ramtop` CMOS entry is missing, please add it to your cmos.layout." +#error "The `CSE partition firmware` CMOS entry is missing, please add it to your cmos.layout." #endif #if CMOS_VSTART_partition_fw % 8 != 0 -#error "The `partition firmware` CMOS entry needs to be byte aligned, check your cmos.layout." +#error "The `CSE partition firmware` CMOS entry needs to be byte aligned, check your cmos.layout." #endif // CMOS_VSTART_partition_fw % 8 != 0 #if CMOS_VLEN_partition_fw != (32 * 8)