From 96527da2da3c34241e6996edd30edc94273424ed Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 6 Apr 2022 18:53:04 +0530 Subject: soc/intel/cse: Allow calling all functions associated with `cse_final` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes a problem where `cse_final` only calls into 1 function from available `notify_func` lists. BUG=b:211954778 TEST=Able to execute `cse_final_end_of_firmware` function as part of `cse_final` call. Signed-off-by: Subrata Banik Change-Id: I04d8c9c1213ddeb9ed85473e62fcca298c0d5172 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63405 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Eric Lai --- src/soc/intel/common/block/cse/cse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index d786a65e8a..32b7f209a4 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -1254,7 +1254,7 @@ static void cse_final(struct device *dev) { for (size_t i = 0; i < ARRAY_SIZE(notify_data); i++) { if (!notify_data[i].skip) - return notify_data[i].notify_func(); + notify_data[i].notify_func(); } } -- cgit v1.2.3