summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-08-12 16:00:50 -0400
committerTom Rini <trini@konsulko.com>2016-08-12 16:00:50 -0400
commitf4b0df1823921ad3bc39820466e9c5201cef6210 (patch)
treefa7ae4f3ac018bc010b7910da55ebb76e3639489 /include/fdt_support.h
parentab65006b08c5a2d022b1ce43581e555c82926cd4 (diff)
parentb647f55420310beb8f576e23f3b6a69745126f71 (diff)
downloadu-boot-imx-f4b0df1823921ad3bc39820466e9c5201cef6210.zip
u-boot-imx-f4b0df1823921ad3bc39820466e9c5201cef6210.tar.gz
u-boot-imx-f4b0df1823921ad3bc39820466e9c5201cef6210.tar.bz2
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 7318098..e9f3497 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -180,7 +180,8 @@ static inline void fdt_fixup_mtdparts(void *fdt, void *node_info,
#endif
void fdt_del_node_and_alias(void *blob, const char *alias);
-u64 fdt_translate_address(void *blob, int node_offset, const __be32 *in_addr);
+u64 fdt_translate_address(const void *blob, int node_offset,
+ const __be32 *in_addr);
int fdt_node_offset_by_compat_reg(void *blob, const char *compat,
phys_addr_t compat_off);
int fdt_alloc_phandle(void *blob);
@@ -239,7 +240,7 @@ static inline u64 of_read_number(const fdt32_t *cell, int size)
return r;
}
-void of_bus_default_count_cells(void *blob, int parentoffset,
+void of_bus_default_count_cells(const void *blob, int parentoffset,
int *addrc, int *sizec);
int ft_verify_fdt(void *fdt);
int arch_fixup_memory_node(void *blob);