[U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA
York Sun
york.sun at nxp.com
Tue Apr 18 16:46:27 UTC 2017
On 04/14/2017 12:03 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
>
> The PPA is a EL3 firmware, which support PSCI, hotplug,
> power-management features etc.
>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> ---
> board/freescale/ls1046aqds/ls1046aqds.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/board/freescale/ls1046aqds/ls1046aqds.c b/board/freescale/ls1046aqds/ls1046aqds.c
> index af3f70a..595b1e8 100644
> --- a/board/freescale/ls1046aqds/ls1046aqds.c
> +++ b/board/freescale/ls1046aqds/ls1046aqds.c
> @@ -10,6 +10,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>
> @@ -265,6 +266,10 @@ int board_init(void)
> if (adjust_vdd(0))
> printf("Warning: Adjusting core voltage failed.\n");
>
> +#ifdef CONFIG_FSL_LS_PPA
> + ppa_init();
> +#endif
> +
Zhiqiang,
This patch looks OK. While you are verifying PPA, can you check if you
can remove the calling of enable_layerscape_ns_access() in the same
file? It is required for PPA to work, but I believe it is already called
in board_early_init_f(), by calling fsl_lsch2_early_init_f().
York
More information about the U-Boot
mailing list