summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index c6cd85e..5c7d4f4 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1274,7 +1274,7 @@ int boot_relocate_fdt (struct lmb *lmb, char **of_flat_tree, ulong *of_size)
}
} else {
of_start =
- (void *)(ulong) mb_alloc(lmb, of_len, 0x1000);
+ (void *)(ulong) lmb_alloc(lmb, of_len, 0x1000);
}
} else {
of_start =