allwinner: Pass FDT address to sunxi_pmic_setup()
authorAndre Przywara <andre.przywara@arm.com>
Sat, 8 Sep 2018 18:18:37 +0000 (19:18 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 20 Oct 2018 15:23:59 +0000 (16:23 +0100)
commitdf301601c872b1c59c55928082a0e1e971b5ba5d
treefa7c1f78ed44c6fe5d704847cd25ea71797ea060
parent41538930555182e4c36f44677e5df2b97d266350
allwinner: Pass FDT address to sunxi_pmic_setup()

For Allwinner boards we now use some heuritistics to find a preloaded
.dtb file.

Pass this address on to the PMIC setup routine, so that it can use the
information contained therein to setup some initial power rails.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
plat/allwinner/common/include/sunxi_private.h
plat/allwinner/common/sunxi_bl31_setup.c
plat/allwinner/sun50i_a64/sunxi_power.c
plat/allwinner/sun50i_h6/sunxi_power.c