]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib_ppc/bootm.c
fdt: unshadow global working fdt variable
[karo-tx-uboot.git] / lib_ppc / bootm.c
index 9194fd8b0a6aca61ee97316a296f412d7aac0734..0421ce4940cd96ce206b1af9821f1cf359aa6c7c 100644 (file)
@@ -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;