[U-Boot] [PATCH 1/2] board: move ppa firmware address in board specific kconfig

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Thu May 3 15:58:49 UTC 2018


Dear  Bhaskar,

> -----Original Message-----
> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Bhaskar
> Upadhaya
> Sent: Thursday, May 3, 2018 3:58 PM
> To: u-boot at lists.denx.de
> Cc: Bhaskar Upadhaya <bhaskar.upadhaya at nxp.com>
> Subject: [U-Boot] [PATCH 1/2] board: move ppa firmware address in board
> specific kconfig
> 
> ppa firmware address may vary depending upon different boards, configure ppa
> firmware address in board specific kconfig
> 
> Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya at nxp.com>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  5 -----
>  board/freescale/ls1012afrdm/Kconfig       |  4 ++++
>  board/freescale/ls1012aqds/Kconfig        |  3 +++
>  board/freescale/ls1012ardb/Kconfig        |  8 ++++++++
>  board/freescale/ls1043aqds/Kconfig        |  4 ++++
>  board/freescale/ls1043ardb/Kconfig        |  4 ++++
>  board/freescale/ls1046aqds/Kconfig        |  4 ++++
>  board/freescale/ls1046ardb/Kconfig        |  5 +++++
>  board/freescale/ls1088a/Kconfig           |  8 ++++++++
>  board/freescale/ls2080a/Kconfig           | 24 ++++++++++++++++++++++++
>  board/freescale/ls2080aqds/Kconfig        | 12 ++++++++++++
>  board/freescale/ls2080ardb/Kconfig        | 24 ++++++++++++++++++++++++
>  12 files changed, 100 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> index 7edc06d..a4d544b 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> @@ -264,11 +264,6 @@ endchoice
>  config SYS_LS_PPA_FW_ADDR
>  	hex "Address of PPA firmware loading from"
>  	depends on FSL_LS_PPA
> -	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT &&
> ARCH_LS2080A
> -	default 0x40400000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
> -	default 0x580400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
> -	default 0x20400000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
> -	default 0x60400000 if SYS_LS_PPA_FW_IN_XIP
>  	default 0x400000 if SYS_LS_PPA_FW_IN_MMC
>  	default 0x400000 if SYS_LS_PPA_FW_IN_NAND


SYS_LS_PPA_FW_IN_MMC and SYS_LS_PPA_FW_IN_NAND should also be moved to board file. 

--pk


More information about the U-Boot mailing list