[U-Boot] [PATCH][v2]board: freescale: ls2080a/ls2088a: Enable PPA
york sun
york.sun at nxp.com
Sat Mar 25 17:35:17 UTC 2017
On 03/06/2017 09:48 PM, Santan Kumar wrote:
> Enable PPA on LS2080A, LS2088A boards:
> -LS2080ARDB, LS2080AQDS
> -LS2088ARDB, LS2088AQDS
>
> Signed-off-by: Santan Kumar <santan.kumar at nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini at nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
> ---
> Changes for v2:
> Changed the subject
> Made changes based on latest ppa config
>
> arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 +
> board/freescale/ls2080aqds/ls2080aqds.c | 8 ++++++++
> board/freescale/ls2080ardb/ls2080ardb.c | 7 +++++++
> configs/ls2080aqds_defconfig | 1 +
> configs/ls2080ardb_defconfig | 1 +
> 5 files changed, 18 insertions(+)
>
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> index adccdf1..bbbe2de 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> @@ -136,6 +136,7 @@ config SYS_LS_PPA_FW_ADDR
> hex "Address of PPA firmware loading from"
> depends on FSL_LS_PPA
> default 0x40500000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
> + default 0x580a00000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
> default 0x60500000 if SYS_LS_PPA_FW_IN_XIP
> help
> If the PPA firmware locate at XIP flash, such as NOR or
> diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c
> index 73a61fd..894dc74 100644
> --- a/board/freescale/ls2080aqds/ls2080aqds.c
> +++ b/board/freescale/ls2080aqds/ls2080aqds.c
> @@ -19,6 +19,10 @@
> #include <asm/arch/soc.h>
> #include <hwconfig.h>
> #include <fsl_sec.h>
> +#ifdef CONFIG_FSL_LS_PPA
> +#include <asm/arch/ppa.h>
> +#endif
> +
>
> #include "../common/qixis.h"
> #include "ls2080aqds_qixis.h"
> @@ -224,6 +228,10 @@ int board_init(void)
> select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
> rtc_enable_32khz_output();
>
> +#ifdef CONFIG_FSL_LS_PPA
> + ppa_init();
> +#endif
> +
Does it matter if ppa_init() runs first, or sec_init() runs first? I am
trying to resolve a conflict.
York
More information about the U-Boot
mailing list