

Well, as a matter of fact, EDK2 is replacing GRUB in Libreboot, it says so in the Changelog.
You can build an alternative version with other payloads, but the default one now is EDK2.
After all, CBFS is pretty modular, so everybody can run what they want. I just don’t get why EDK2 is supposedly so awesome, GRUB is way more awesome to me for the aforementioned reasons.
The only benefit I can think of is that EDK2 can run PCI Optionroms for external graphics, but coreboot itself can do that too now and still load GRUB in text mode.
Hmm.
Having EDK2 in flash defeats the purpose of having a customized secure GRUB config, because you can just escape EDK2 to boot whatever you want.
Do you happen to know if EDK2 can be configured to only load a specific executable and prevent or password protect external boot sources?
Loading Windows… sigh. What target group that is interested in custom BIOS firmware seriously wants to ever boot Windows? I guess there are very few legitimate usecases, but FreeDOS exists.
Loading OpROMs is a capability of coreboot, no need for SeaBIOS/vgabios or EDK2 just for that.
TPM2 support is also part of coreboot? Here I am unsure.