qemu-ppce500: Update get_phys_ccsrbar_addr_early()
authorTom Rini <trini@konsulko.com>
Thu, 3 Aug 2017 12:53:36 +0000 (08:53 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2017 18:48:52 +0000 (14:48 -0400)
commit9f841559a5ecfc1c860819a5b6b516568bc374d5
tree553d38412377e31ffb1456f76973f2d886b4a4fa
parent7b9c88bfca6b445e26767494a30083d3b75b5b67
qemu-ppce500: Update get_phys_ccsrbar_addr_early()

The logic of what fdt_get_base_address() will search for and return has
changed.  Rework get_phys_ccsrbar_addr_early() to perform the logic that
fdt_get_base_address used to perform.

Fixes: 336a44877af8 ("fdt: Correct fdt_get_base_address()")
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/qemu-ppce500/qemu-ppce500.c