mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00
Merge "chore(libfdt): update header files to v1.7.0 tag" into integration
This commit is contained in:
commit
2f306f892e
2 changed files with 9 additions and 2 deletions
|
@ -35,14 +35,14 @@ struct fdt_reserve_entry {
|
||||||
|
|
||||||
struct fdt_node_header {
|
struct fdt_node_header {
|
||||||
fdt32_t tag;
|
fdt32_t tag;
|
||||||
char name[0];
|
char name[];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct fdt_property {
|
struct fdt_property {
|
||||||
fdt32_t tag;
|
fdt32_t tag;
|
||||||
fdt32_t len;
|
fdt32_t len;
|
||||||
fdt32_t nameoff;
|
fdt32_t nameoff;
|
||||||
char data[0];
|
char data[];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* !__ASSEMBLER__*/
|
#endif /* !__ASSEMBLER__*/
|
||||||
|
|
|
@ -660,6 +660,13 @@ int fdt_next_property_offset(const void *fdt, int offset);
|
||||||
const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
|
const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
|
||||||
int offset,
|
int offset,
|
||||||
int *lenp);
|
int *lenp);
|
||||||
|
static inline struct fdt_property *fdt_get_property_by_offset_w(void *fdt,
|
||||||
|
int offset,
|
||||||
|
int *lenp)
|
||||||
|
{
|
||||||
|
return (struct fdt_property *)(uintptr_t)
|
||||||
|
fdt_get_property_by_offset(fdt, offset, lenp);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fdt_get_property_namelen - find a property based on substring
|
* fdt_get_property_namelen - find a property based on substring
|
||||||
|
|
Loading…
Add table
Reference in a new issue