Just use map_to_sysmem() instead of all the casting. Signed-off-by: Simon Glass <sjg at chromium.org> --- boot/image-fdt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-dm/next, thanks!