mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
cmd_fdt: Actually fix fdt command in sandbox
Commit90bac29a76
claims to fix this bug that was introduced in commita92fd6577e
but doesn't actually make the change that the commit message describes. Actually fix the bug this time. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
5745f8c4fd
commit
90fbee3e40
@@ -190,7 +190,7 @@ int boot_relocate_fdt(struct lmb *lmb, char **of_flat_tree, ulong *of_size)
|
||||
*of_flat_tree = of_start;
|
||||
*of_size = of_len;
|
||||
|
||||
set_working_fdt_addr(*of_flat_tree);
|
||||
set_working_fdt_addr((ulong)*of_flat_tree);
|
||||
return 0;
|
||||
|
||||
error:
|
||||
|
Reference in New Issue
Block a user