On Thu, 18 Oct 2018 at 12:44, Marek Vasut <marek.va...@gmail.com> wrote:
>
> From: Hiroyuki Yokoyama <hiroyuki.yokoyama...@renesas.com>
>
> This patch fixes the address information of fdt.
>
> wrong case:
>  => fdt addr 0x48000000
>  => fdt move 0x48000000 0x41000000 0xa000
>  => fdt addr
> The address of the fdt is 48000000
>
> Active address in this case is 0x41000000.
>
> Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama...@renesas.com>
> Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com>
> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama...@renesas.com>
> Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org>
> Cc: Pantelis Antoniou <pantelis.anton...@konsulko.com>
> ---
>  cmd/fdt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Also, the cast to struct fdt_header * in the code above looks wrong. I
think it should have a map_sysmem() in there.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to