diff options
author | Antonio Niño Díaz <antonio.ninodiaz@arm.com> | 2018-11-06 12:45:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 12:45:09 +0100 |
commit | 9c10e3485b10ece95f9af8a6af79558397ee1d78 (patch) | |
tree | affcfce48a2f598b9caeb31a61aee959757868d6 /include/common/fdt_wrappers.h | |
parent | 4eb835f827cb43cb68473ad4e27f74164dc14c89 (diff) | |
parent | 73f1ac6c8ee4a688ed8e1fddc040b882171d3453 (diff) |
Merge pull request #1665 from antonio-nino-diaz-arm/an/fdt-helpers
Introduce new fdt helpers
Diffstat (limited to 'include/common/fdt_wrappers.h')
-rw-r--r-- | include/common/fdt_wrappers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common/fdt_wrappers.h b/include/common/fdt_wrappers.h index 3eae944e..c8d753f9 100644 --- a/include/common/fdt_wrappers.h +++ b/include/common/fdt_wrappers.h @@ -14,6 +14,11 @@ int fdtw_read_cells(const void *dtb, int node, const char *prop, unsigned int cells, void *value); +int fdtw_read_array(const void *dtb, int node, const char *prop, + unsigned int cells, void *value); +int fdtw_read_string(const void *dtb, int node, const char *prop, + char *str, size_t size); int fdtw_write_inplace_cells(void *dtb, int node, const char *prop, unsigned int cells, void *value); + #endif /* __FDT_WRAPPERS__ */ |