Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/smmstore/ramstage.c: retry smmstore init up 5 times
Retry calling the SMI 5 times in case the initial write to APM did not cause SMM entry immediately. Fixes occasional SMMSTORE initialization failure on Clevo NV4xPZ with Intel i5-1240P processor. The issue was especially evident when all logging in coreboot was disabled. Based on SMMSTORE implementation in MrChromebox's fork of EDK2: MrChromebox/edk2@27854bc Change-Id: I8929af25c4f69873bbdd835fde5cb60fc324b6ab Signed-off-by: Michał Kopeć <[email protected]>
- Loading branch information