[U-Boot] [PATCH] armv8: ls1046aqds: added ppa support

york sun york.sun at nxp.com
Sat Mar 25 17:08:06 UTC 2017


On 03/09/2017 11:03 PM, Yuantian Tang wrote:
> PPA is used on ls1046aqds to support sleep, hotplug feature.
> Add PPA support to enable them.
>
> Signed-off-by: Tang Yuantian <andy.tang at nxp.com>
> ---
>  board/freescale/ls1046aqds/ls1046aqds.c |  5 +++++
>  include/configs/ls1046aqds.h            | 11 +++++++++++
>  2 files changed, 16 insertions(+)

<snip>

> diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
> index 4b3b21e..f8f74aa 100644
> --- a/include/configs/ls1046aqds.h
> +++ b/include/configs/ls1046aqds.h
> @@ -9,6 +9,17 @@
>
>  #include "ls1046a_common.h"
>
> +#if defined(CONFIG_FSL_LS_PPA)
> +#define CONFIG_ARMV8_PSCI
> +#define CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT
> +#define SEC_FIRMWARE_ERET_ADDR_REVERT
> +
> +#define CONFIG_SYS_LS_PPA_FW_IN_XIP
> +#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP
> +#define	CONFIG_SYS_LS_PPA_FW_ADDR	0x60500000
> +#endif
> +#endif
> +
>  #if defined(CONFIG_NAND_BOOT) || defined(CONFIG_SD_BOOT)
>  #define CONFIG_SYS_TEXT_BASE		0x82000000
>  #elif defined(CONFIG_QSPI_BOOT)
>

This is wrong! Please use Kconfig. The options are already there. You 
cannot select CONFIG_ARMV8_PSCI with PPA. Please consult Zhiqiang Hou if 
you have questions.

York




More information about the U-Boot mailing list