]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: fdt: Fix fdt address information after the movement
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Thu, 18 Oct 2018 18:43:54 +0000 (20:43 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
commitb1a7e79949a972231ddf793fd48ca0ce9cf48da5
tree5d10d0b102b7dbd916405726795975f200697862
parent410d9b644639799259cddba9cbff96c2db038a6b
cmd: fdt: Fix fdt address information after the movement

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.vx@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c