You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem is that our FdtNode stores parent's address/size-cells which means we would need to keep the entire ancestor chain when iterating. Since fdt is no-alloc parser, we'd have to work around this somehow - one idea would be to enforce a maximum depth (64 seems to be a sensible default used by other libraries, including libfdt AFAIR) and return an error if it's been exceeded. The maximum depth could even be configurable by using a const generic.
It would be good to figure out some specific use cases for this and perhaps implement it if the use cases are compelling.
Activity