PowerPC: mpc85xx: Update ft_verify_fdt
authorTom Rini <trini@konsulko.com>
Thu, 3 Aug 2017 13:33:07 +0000 (09:33 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2017 18:48:53 +0000 (14:48 -0400)
commit217324b23c4a73420633068efcdc396682894b1b
treee0dbe14f7523572060f8693f49dbd3f1e47453a7
parent9f841559a5ecfc1c860819a5b6b516568bc374d5
PowerPC: mpc85xx: Update ft_verify_fdt

With the changes to fdt_get_base_address() we need to modify the logic
in ft_verify_fdt() for how we check the validity of the CCSR address.

Tested-on: qemu-ppce500 -M mpc8544ds
Fixes: 336a44877af8 ("fdt: Correct fdt_get_base_address()")
Cc: York Sun <york.sun@nxp.com>
Cc: Wolfgang Denk <wd@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/powerpc/cpu/mpc85xx/fdt.c