diff options
author | Anatolij Gustschin | 2010-03-16 17:10:05 +0100 |
---|---|---|
committer | Wolfgang Denk | 2010-03-21 22:44:59 +0100 |
commit | 3c950e2ebfde083084cc926b020e3a22a536bf85 (patch) | |
tree | 50a4b0b6b2f5c03272216a7d9414052d8e3e9496 /include/fdt_support.h | |
parent | d611295032c30e6c533cb356005fa82ab7992824 (diff) |
fdt_support: add partitions fixup in mtd node
Allow overwriting defined partitions in the device tree blob
using partition info defined in the 'mtdparts' environment
variable.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Gerald Van Baren <vanbaren@cideas.com>
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 0a9dd0dd84e..a3d5f8cbfee 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -81,5 +81,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); + #endif /* ifdef CONFIG_OF_LIBFDT */ #endif /* ifndef __FDT_SUPPORT_H */ |