of/flattree: Merge unflatten_dt_node

Merge common code between PowerPC and MicroBlaze

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Grant Likely
2009-11-23 20:07:00 -07:00
parent 00e38efd90
commit bbd33931a0
4 changed files with 204 additions and 389 deletions

View File

@ -69,6 +69,10 @@ extern void *of_get_flat_dt_prop(unsigned long node, const char *name,
unsigned long *size);
extern int of_flat_dt_is_compatible(unsigned long node, const char *name);
extern unsigned long of_get_flat_dt_root(void);
extern unsigned long unflatten_dt_node(unsigned long mem, unsigned long *p,
struct device_node *dad,
struct device_node ***allnextpp,
unsigned long fpsize);
/* Other Prototypes */
extern void finish_device_tree(void);