Documentation: Add some notes about how to integrate FSP

While we don't _want_ FSP, we can't get around it sometimes.  But when
using it, we can still try to establish best practices to make life
easier for everybody.

Change-Id: I4efd273e4141dc6dc4cf8bdebda9cffd0d7cc1a1
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58886
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Patrick Georgi 2021-11-03 10:11:35 +00:00 committed by Patrick Georgi
parent 7dce190808
commit ef164196cb
1 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,18 @@
This section contains documentation about Intel-FSP in public domain. This section contains documentation about Intel-FSP in public domain.
## Integration Guidelines
Some guiding principles when working on the glue to integrate FSP into
coreboot, e.g. on how to configure a board in devicetree when that affects
the way FSP works:
* It should be possible to replace FSP based boot with a native coreboot
implementation for a given chipset without touching the mainboard code.
* The devicetree configures coreboot and part of what coreboot does with the
information is setting some FSP UPDs. The devicetree isn't supposed to
directly configure FSP.
## Bugs ## Bugs
As Intel doesn't even list known bugs, they are collected here until As Intel doesn't even list known bugs, they are collected here until
those are fixed. If possible a workaround is described here as well. those are fixed. If possible a workaround is described here as well.