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>
void sunxi_disable_secondary_cpus(unsigned int primary_cpu);
void __dead2 sunxi_power_down(void);
-int sunxi_pmic_setup(uint16_t socid);
+int sunxi_pmic_setup(uint16_t socid, const void *fdt);
void sunxi_security_setup(void);
uint16_t sunxi_read_soc_id(void);
sunxi_security_setup();
- sunxi_pmic_setup(soc_id);
+ sunxi_pmic_setup(soc_id, fdt);
INFO("BL31: Platform setup done\n");
}
return rsb_write(AXP803_RT_ADDR, reg, regval);
}
-int sunxi_pmic_setup(uint16_t socid)
+int sunxi_pmic_setup(uint16_t socid, const void *fdt)
{
int ret;
return 0;
}
-int sunxi_pmic_setup(uint16_t socid)
+int sunxi_pmic_setup(uint16_t socid, const void *fdt)
{
int ret;