diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-11-26 14:57:15 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-12-19 09:50:47 +0100 |
commit | 574506c327318e82095122470d258da0be21b294 (patch) | |
tree | 31a670c9ae985d180e019af4ce97c59f81028935 /include/fdt_support.h | |
parent | 08370038df6c92a1bfe1aede55545a505e268305 (diff) | |
download | u-boot-574506c327318e82095122470d258da0be21b294.tar.gz u-boot-574506c327318e82095122470d258da0be21b294.tar.bz2 u-boot-574506c327318e82095122470d258da0be21b294.zip |
fdt_support: Add fdt_delete_disabled_nodes() and use in Turris MOX
Move Turris MOX specific remove_disabled_nodes() to fdt_support with
name fdt_delete_disabled_nodes(), so that others can potentially use it.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r-- | include/fdt_support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index d40586725b..8ec461af6c 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -228,6 +228,8 @@ void set_working_fdt_addr(ulong addr); int fdt_shrink_to_minimum(void *blob, uint extrasize); int fdt_increase_size(void *fdt, int add_len); +int fdt_delete_disabled_nodes(void *blob); + int fdt_fixup_nor_flash_size(void *blob); struct node_info; |