diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-06-10 11:06:17 -0500 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2008-06-10 22:23:17 -0400 |
commit | e489b9c078e22b0d9e75f002cd2a1bd967e88f5e (patch) | |
tree | f26ab715260f3d389a4ebc8e8af769af467bb325 /lib_ppc | |
parent | 2fb698bf50f4aff2485581a12fa634a07c040e4a (diff) | |
download | u-boot-imx-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.zip u-boot-imx-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.tar.gz u-boot-imx-e489b9c078e22b0d9e75f002cd2a1bd967e88f5e.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 9194fd8..0421ce4 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; |