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/jffs2 | |
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/jffs2')
-rw-r--r-- | include/jffs2/load_kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jffs2/load_kernel.h b/include/jffs2/load_kernel.h index 8b2720e951a..906eb3d3cdb 100644 --- a/include/jffs2/load_kernel.h +++ b/include/jffs2/load_kernel.h @@ -78,5 +78,6 @@ struct mtdids { extern int mtdparts_init(void); extern int find_dev_and_part(const char *id, struct mtd_device **dev, u8 *part_num, struct part_info **part); +extern struct mtd_device *device_find(u8 type, u8 num); #endif /* load_kernel_h */ |