armv8: ls1046aqds: Integrate FSL PPA
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 14 Apr 2017 06:48:23 +0000 (14:48 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 24 Apr 2017 16:03:22 +0000 (09:03 -0700)
The PPA is a EL3 firmware, which support PSCI, hotplug,
power-management features etc.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1046aqds/ls1046aqds.c

index 58ce75acf6c1f69abef52734a6b8a04d61a9026a..057a11daa85854f7ca6510dd4433e35b4c7613a1 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/fsl_serdes.h>
+#include <asm/arch/ppa.h>
 #include <asm/arch/fdt.h>
 #include <asm/arch/mmu.h>
 #include <asm/arch/soc.h>
@@ -267,6 +268,10 @@ int board_init(void)
        if (adjust_vdd(0))
                printf("Warning: Adjusting core voltage failed.\n");
 
+#ifdef CONFIG_FSL_LS_PPA
+       ppa_init();
+#endif
+
 #ifdef CONFIG_SECURE_BOOT
        /*
         * In case of Secure Boot, the IBR configures the SMMU