Skip to content

refactor: add FdtPropertyHeader instead of manual read/write - #69

Merged
m4tx merged 3 commits into
mainfrom
fdt-property-header
Aug 12, 2026
Merged

refactor: add FdtPropertyHeader instead of manual read/write#69
m4tx merged 3 commits into
mainfrom
fdt-property-header

Conversation

@m4tx

@m4tx m4tx commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

This refactors the FDT parser/writer to use a new struct FdtPropertyHeader (similar to FdtHeader). Instead of duplicating the FDT property in multiple places, the same struct is used everywhere, making the code cleaner and reducing the possibility of forgetting to convert to/from Big Endian.

m4tx added 2 commits July 23, 2026 12:30
This refactors the FDT parser/writer to use a new struct
`FdtPropertyHeader` (similar to `FdtHeader`). Instead of
duplicating the FDT property in multiple places, the same
struct is used everywhere, making the code cleaner and reducing the
possibility of forgetting to convert to/from Big Endian.
@m4tx
m4tx requested a review from qwandor July 23, 2026 12:56
Base automatically changed from add-property to main August 12, 2026 15:14
# Conflicts:
#	src/fdt_mut.rs
#	src/fdt_mut/node.rs
#	src/fdt_mut/property.rs
#	tests/fdt_mut.rs
@m4tx
m4tx merged commit 71c4660 into main Aug 12, 2026
31 checks passed
@m4tx
m4tx deleted the fdt-property-header branch August 12, 2026 15:29
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

Successfully merging this pull request may close these issues.

2 participants