Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FdtBusDxe: Finish DtIoParseProp (EFI_DT_VALUE_U128) #6

Open
andreiw opened this issue Jan 12, 2024 · 2 comments
Open

FdtBusDxe: Finish DtIoParseProp (EFI_DT_VALUE_U128) #6

andreiw opened this issue Jan 12, 2024 · 2 comments

Comments

@andreiw
Copy link
Contributor

andreiw commented Jan 12, 2024

Support EFI_DT_VALUE_DEVICE and EFI_DT_VALUE_U128.

@andreiw andreiw changed the title Finish DtIoParseProp FdtBusDxe: Finish DtIoParseProp Jan 12, 2024
@andreiw
Copy link
Contributor Author

andreiw commented Aug 30, 2024

EFI_DT_VALUE_DEVICE can be implemented similar to fdt_get_path, but checking against phandle instead of nodeoffset. Also, instead of building an ASCII string, we can directly build a device path. Using existing device path lib is awkward, especially since we need to track back.... instead let's create a list of wrapped DP nodes, which keeps created nodes in a linked list and has an operation to flatten. Actually, more like a stack, where newly added DP nodes are added at the font.

@andreiw andreiw changed the title FdtBusDxe: Finish DtIoParseProp FdtBusDxe: Finish DtIoParseProp (EFI_DT_VALUE_U128) Sep 1, 2024
@andreiw
Copy link
Contributor Author

andreiw commented Sep 1, 2024

EFI_DT_VALUE_DEVICE is now supported (as of Sep 2024) - not efficiently, but it works. Optimizations welcome...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant