summaryrefslogtreecommitdiff
path: root/plat/allwinner/sun50i_a64
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-09-08 19:18:37 +0100
committerAndre Przywara <andre.przywara@arm.com>2018-10-20 16:23:59 +0100
commitfe57c7d477d1fd4fb4a4b5b1dfb2c3873f58a664 (patch)
treef92c6a0e79a9bd9d3485140b5bca38571f47f7f5 /plat/allwinner/sun50i_a64
parent123bcb3f3889b3249678685a665ed9b5b2b22b04 (diff)
allwinner: Pass SoC ID to sunxi_pmic_setup()
In the BL31 platform setup we read the Allwinner SoC ID to identify the chip and print its name. In addition to that we will need to differentiate the power setup between the SoCs, to pass on the SoC ID to the PMIC setup routine. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat/allwinner/sun50i_a64')
-rw-r--r--plat/allwinner/sun50i_a64/sunxi_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/allwinner/sun50i_a64/sunxi_power.c b/plat/allwinner/sun50i_a64/sunxi_power.c
index c1907d6d..a2110e95 100644
--- a/plat/allwinner/sun50i_a64/sunxi_power.c
+++ b/plat/allwinner/sun50i_a64/sunxi_power.c
@@ -8,7 +8,7 @@
#include <arch_helpers.h>
#include <debug.h>
-int sunxi_pmic_setup(void)
+int sunxi_pmic_setup(uint16_t socid)
{
/* STUB */
NOTICE("BL31: STUB PMIC setup code called\n");