From b4de2612289a2a58863671318f5aac619c05f5d2 Mon Sep 17 00:00:00 2001 From: Sridhar Siricilla Date: Thu, 28 Apr 2022 14:36:38 +0530 Subject: soc/intel/common: Use coreboot error codes The patch uses coreboot error codes instead of uint8_t data type in the pre_mem_debug_init function. TEST=build code for Gimble Signed-off-by: Sridhar Siricilla Change-Id: I957ff764900cb789bf2aacf0472dcb281f48af07 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64301 Tested-by: build bot (Jenkins) Reviewed-by: Maulik V Vaghela --- src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/common/basecode/include') diff --git a/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h b/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h index 51e3f4d05a..664a739932 100644 --- a/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h +++ b/src/soc/intel/common/basecode/include/intelbasecode/debug_feature.h @@ -12,6 +12,6 @@ bool is_debug_cse_fw_update_disable(void); * Reads OEM Section area in the Descriptor Region and * populates pre_mem_debug structure. */ -uint8_t pre_mem_debug_init(void); +enum cb_err pre_mem_debug_init(void); #endif -- cgit v1.2.3