aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-04-06 18:53:04 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-04-08 14:42:00 +0000
commit96527da2da3c34241e6996edd30edc94273424ed (patch)
tree4b568856401efe8131ed891b5d5733eae13b63eb /src/soc/intel/common/block
parentc0c40b94e366dcd60c9a9ac48035fda59444588d (diff)
soc/intel/cse: Allow calling all functions associated with `cse_final`
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 <subratabanik@google.com> Change-Id: I04d8c9c1213ddeb9ed85473e62fcca298c0d5172 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63405 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r--src/soc/intel/common/block/cse/cse.c2
1 files changed, 1 insertions, 1 deletions
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();
}
}