summaryrefslogtreecommitdiff
path: root/common/fdt_support.c
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2008-06-10 22:15:58 -0400
committerGerald Van Baren <vanbaren@cideas.com>2008-06-10 22:23:23 -0400
commitae9e97fa96f643c8ba2b666b06a026cc8717eb00 (patch)
treeec8e66306bc821bd3f4d61b44e0365ff77df5156 /common/fdt_support.c
parente489b9c078e22b0d9e75f002cd2a1bd967e88f5e (diff)
downloadu-boot-imx-ae9e97fa96f643c8ba2b666b06a026cc8717eb00.zip
u-boot-imx-ae9e97fa96f643c8ba2b666b06a026cc8717eb00.tar.gz
u-boot-imx-ae9e97fa96f643c8ba2b666b06a026cc8717eb00.tar.bz2
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: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r--common/fdt_support.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index e8aa3e9..e58b294 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -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