Skip to content

Is it necessary that FdtBusPkg depends on gEdkiiPlatformHasDeviceTreeGuid hardly? #56

Answered by andreiw
ChaiEvan asked this question in Q&A
Discussion options

You must be logged in to vote

As you point out, FdtBusDxe has logic to install the same FDT its using into the EFI Configuration Table. This logic mirrors the logic in FdtClientDxe - if the platform wants to expose DT to the OS, FdtBusDxe would be the agent to do it.

One of the goals of FdtBusDxe is to replace existing FdtClientDxe use. And if you look at FdtClientDxe, exposing the DT is one of the things it does. And curiously enough, when you do that, you may need to patch some values out depending on firmware configuration (which is why #9 is opened). And if you get that far, you realize that in a DT environment, the OS-visible DT is likely OS provided, not the firmware internal one, so what's really missing in Fdt…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andreiw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants