On 29/05/2024 21:49, Simon Glass wrote:
Hi Caleb,
On Wed, 29 May 2024 at 13:04, Caleb Connolly <[email protected]> wrote:
How about using the compatible string, instead of a GUID? Is that possible?
Could you elaborate?
Well, the compatible string (in the root node) is how we normally
decide which DT to use and which machine we are targeting. So I am
wondering if we can somehow use that, rather than producing a GUID
from it?
No, we can't. The GUIDs are required as part of the EFI FMP spec. We
currently hardcode these GUIDs per-board (meaning if a vendor productize
some board they need to make source modifications to replace the GUIDs).
This series generates those GUIDs deterministically at runtime so we
don't need to maintain a big list.
Regards,
Simon
--
// Caleb (they/them)