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>
This commit is contained in:
Anatolij Gustschin
2010-03-16 17:10:05 +01:00
committed by Wolfgang Denk
parent d611295032
commit 3c950e2ebf
5 changed files with 234 additions and 1 deletions

View File

@@ -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 */