Commit ae9e97fa authored by Gerald Van Baren's avatar Gerald Van Baren
Browse files

libfdt: Move the working_fdt pointer to cmd_fdt.c



The working_fdt pointer was declared in common/fdt_support.c but was
not used there.  Move it to common/cmd_fdt.c where it is used (it is
also used in lib_ppc/bootm.c).
Signed-off-by: default avatarGerald Van Baren <vanbaren@cideas.com>
parent e489b9c0
......@@ -45,6 +45,11 @@ static int fdt_valid(void);
static int fdt_parse_prop(char **newval, int count, char *data, int *len);
static int fdt_print(const char *pathp, char *prop, int depth);
/*
* The working_fdt points to our working flattened device tree.
*/
struct fdt_header *working_fdt;
/*
* Flattened Device Tree command, see the help for parameter definitions.
*/
......
......@@ -35,11 +35,6 @@
*/
DECLARE_GLOBAL_DATA_PTR;
/*
* fdt points to our working device tree.
*/
struct fdt_header *working_fdt;
/**
* fdt_find_and_setprop: Find a node and set it's property
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment