allwinner: call PMIC setup code
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 21 Jul 2018 12:41:12 +0000 (20:41 +0800)
committerIcenowy Zheng <icenowy@aosc.io>
Fri, 7 Sep 2018 14:09:45 +0000 (22:09 +0800)
commit7c26b6ecea26be4811d040b8c3052b6f5ef1bfb4
treec41cad37937e9ac11697203755e6d62385f6aadd
parent7e4d562077463f39360df06975545c5b42910794
allwinner: call PMIC setup code

As the ATF may need to do some power initialization on Allwinner
platform with AXP PMICs, call the PMIC setup code in BL31.

Stub of PMIC setup code is added, to prevent undefined reference.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
plat/allwinner/common/sunxi_bl31_setup.c
plat/allwinner/common/sunxi_private.h
plat/allwinner/sun50i_a64/platform.mk
plat/allwinner/sun50i_a64/sunxi_power.c [new file with mode: 0644]
plat/allwinner/sun50i_h6/platform.mk
plat/allwinner/sun50i_h6/sunxi_power.c [new file with mode: 0644]