Rocky Phagura has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43979 )
Change subject: drivers/intel/fsp2_0: Change boot state notification ......................................................................
Patch Set 4:
Patch Set 4:
Patch Set 4:
(2 comments)
Does anyone know why we load the payload into memory and then notify FSP? Doesn't it make sense to:
- notify FSP of boot state init
- load payload into memory
- run payload
we have 2 FSP callback
- Post PCI enumeration
- Ready to Boot
I guess the purpose of NotifyPhaseApi() - Begin [Phase: 00000040] FSP Ready To Boot ... event to ensure we have a done with all operation and bootloader is ready to handoff to payload/os
Subrata, Is it possible for FSP to overwrite memory where the payload is loaded? That's what I'm seeing in some cases. Hence, I wanted to change the order in which FSP is being notified just prior to the payload being loaded.