mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
chore(libfdt): update header files to v1.7.0 tag
As part of TF-A 2.9.0 release, libfdt version was updated to its last
tagged version (1.7.0) with commit 058e017e5
. This commit has only
updated the source files of libfdt but did not update header files.
This patch updates the libfdt header files in include/lib/libfdt to
the tagged version v1.7.0
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I09a0f51435b343c3e1cac45075fe7d28cbcae867
This commit is contained in:
parent
9bb15ab53a
commit
d3a9990c6a
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