nb/intel/haswell: Use boolean for cbmem_was_initted
Change-Id: I4a311ce924200d85a97806bb3c826a374e68d81c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89399 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1f2408f573
commit
d9b609b139
2 changed files with 2 additions and 2 deletions
|
|
@ -422,7 +422,7 @@ void perform_raminit(const int s3resume)
|
|||
|
||||
intel_early_me_status();
|
||||
|
||||
int cbmem_was_initted = !cbmem_recovery(s3resume);
|
||||
bool cbmem_was_initted = !cbmem_recovery(s3resume);
|
||||
if (s3resume && !cbmem_was_initted) {
|
||||
/* Failed S3 resume, reset to come up cleanly */
|
||||
printk(BIOS_CRIT, "Failed to recover CBMEM in S3 resume.\n");
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ void perform_raminit(const int s3resume)
|
|||
|
||||
intel_early_me_status();
|
||||
|
||||
int cbmem_was_initted = !cbmem_recovery(s3resume);
|
||||
bool cbmem_was_initted = !cbmem_recovery(s3resume);
|
||||
if (s3resume && !cbmem_was_initted) {
|
||||
/* Failed S3 resume, reset to come up cleanly */
|
||||
printk(BIOS_CRIT, "Failed to recover CBMEM in S3 resume.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue