mirror of
https://github.com/dgibson/dtc.git
synced 2026-10-10 08:03:00 -04:00
Fix flat_dt_property structure
The structure in flat_dt.h defining the layout of a proprety within the flat device tree is incorrect. It has the offset to the property's name, then the length when in fact (according to booting-without-of.txt and the output of dtc) then length should come first, followed by the name offset. In fact, this structure is never used so the mistake doesn't break anything, but it should still be fixed to avoid misleading people. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
5ae78ad8f8
commit
6ae55f9f9b
1 changed files with 1 additions and 1 deletions
|
|
@ -37,8 +37,8 @@ struct reserve_entry {
|
|||
};
|
||||
|
||||
struct flat_dt_property {
|
||||
uint32_t nameoff;
|
||||
uint32_t len;
|
||||
uint32_t nameoff;
|
||||
char data[0];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue