include: hal: common-mock-func: cbmem_check_hfsts1_mock must return 1 if

the platform do not have coreboot

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
This commit is contained in:
Danil Klimuk
2026-03-27 13:38:05 +01:00
parent 47bb77e6ae
commit 6dd5a1c94c
+2
View File
@@ -395,6 +395,8 @@ cbmem_check_if_me_disabled_mock() {
}
cbmem_check_hfsts1_mock() {
[ "$TEST_IS_COREBOOT" != "true" ] && return 1
# Emulating current ME operation mode, check functions check_if_me_disabled and
# check_me_op_mode:
echo "HFSTS1 : 0x000${TEST_ME_OP_MODE}0000"