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>
This commit is contained in:
Subrata Banik 2022-04-06 18:53:04 +05:30 committed by Felix Held
parent c0c40b94e3
commit 96527da2da
1 changed files with 1 additions and 1 deletions

View File

@ -1254,7 +1254,7 @@ static void cse_final(struct device *dev)
{ {
for (size_t i = 0; i < ARRAY_SIZE(notify_data); i++) { for (size_t i = 0; i < ARRAY_SIZE(notify_data); i++) {
if (!notify_data[i].skip) if (!notify_data[i].skip)
return notify_data[i].notify_func(); notify_data[i].notify_func();
} }
} }