summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-03-30 10:19:26 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-04-07 00:08:18 -0500
commit49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21 (patch)
treea3e156a630856f486df59b9cb6fd062dee8c9687 /include
parent69bcf5bc80a47acbd62b8cfff932cb12d47997d7 (diff)
downloadu-boot-imx-49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21.zip
u-boot-imx-49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21.tar.gz
u-boot-imx-49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21.tar.bz2
fdt: Add fdt_del_node_and_alias helper
Add a helper function that given an alias will delete both the node the alias points to and the alias itself Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'include')
-rw-r--r--include/fdt_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index a3d5f8c..9a453af 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -82,6 +82,7 @@ int fdt_resize(void *blob);
int fdt_fixup_nor_flash_size(void *blob, int cs, u32 size);
void fdt_fixup_mtdparts(void *fdt, void *node_info, int node_info_size);
+void fdt_del_node_and_alias(void *blob, const char *alias);
#endif /* ifdef CONFIG_OF_LIBFDT */
#endif /* ifndef __FDT_SUPPORT_H */