summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-06-10 11:06:17 -0500
committerGerald Van Baren <vanbaren@cideas.com>2008-06-10 22:23:17 -0400
commite489b9c078e22b0d9e75f002cd2a1bd967e88f5e (patch)
treef26ab715260f3d389a4ebc8e8af769af467bb325 /lib_ppc
parent2fb698bf50f4aff2485581a12fa634a07c040e4a (diff)
fdt: unshadow global working fdt variable
differentiate with local variables of the same name by renaming the global 'fdt' variable 'working_fdt'. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index 9194fd8b0a6..0421ce4940c 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -750,7 +750,7 @@ static int boot_relocate_fdt (struct lmb *lmb, ulong bootmap_base,
*of_flat_tree = (char *)of_start;
} else {
*of_flat_tree = fdt_blob;
- lmb_reserve(lmb, (ulong)fdt, of_len);
+ lmb_reserve(lmb, (ulong)working_fdt, of_len);
}
return 0;