Skip to content
Snippets Groups Projects
Commit 9fa3a542 authored by Sumit Garg's avatar Sumit Garg Committed by York Sun
Browse files

armv8: fsl-layerscape: Support loading PPA header from eMMC/SD and NAND Flash


Add Kconfig option to support loading PPA header from eMMC/SD and
NAND Flash.

Signed-off-by: default avatarSumit Garg <sumit.garg@nxp.com>
Signed-off-by: default avatarUdit Agarwal <udit.agarwal@nxp.com>
Tested-by: default avatarVinitha Pillai <vinitha.pillai@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 2ac2e20e
No related branches found
No related tags found
No related merge requests found
...@@ -182,12 +182,22 @@ config SYS_LS_PPA_ESBC_ADDR ...@@ -182,12 +182,22 @@ config SYS_LS_PPA_ESBC_ADDR
default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3 default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
default 0x700000 if SYS_LS_PPA_FW_IN_MMC
default 0x700000 if SYS_LS_PPA_FW_IN_NAND
help help
If the PPA header firmware locate at XIP flash, such as NOR or If the PPA header firmware locate at XIP flash, such as NOR or
QSPI flash, this address is a directly memory-mapped. QSPI flash, this address is a directly memory-mapped.
If it is in a serial accessed flash, such as NAND and SD If it is in a serial accessed flash, such as NAND and SD
card, it is a byte offset. card, it is a byte offset.
config LS_PPA_ESBC_HDR_SIZE
hex "Length of PPA ESBC header"
depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
default 0x2000
help
Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
NAND to memory to validate PPA image.
endmenu endmenu
config SYS_FSL_ERRATUM_A010315 config SYS_FSL_ERRATUM_A010315
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment