Commit 9fa3a54220cdfaf8df54ddcdbd4feaeda6a74bd9

Authored by Sumit Garg
Committed by York Sun
1 parent 2ac2e20ef8

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: Sumit Garg <sumit.garg@nxp.com>
Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
Tested-by: Vinitha Pillai <vinitha.pillai@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>

Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/armv8/fsl-layerscape/Kconfig
... ... @@ -182,11 +182,21 @@
182 182 default 0x40740000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
183 183 default 0x40480000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
184 184 default 0x580c40000 if SYS_LS_PPA_FW_IN_XIP && FSL_LSCH3
  185 + default 0x700000 if SYS_LS_PPA_FW_IN_MMC
  186 + default 0x700000 if SYS_LS_PPA_FW_IN_NAND
185 187 help
186 188 If the PPA header firmware locate at XIP flash, such as NOR or
187 189 QSPI flash, this address is a directly memory-mapped.
188 190 If it is in a serial accessed flash, such as NAND and SD
189 191 card, it is a byte offset.
  192 +
  193 +config LS_PPA_ESBC_HDR_SIZE
  194 + hex "Length of PPA ESBC header"
  195 + depends on FSL_LS_PPA && CHAIN_OF_TRUST && !SYS_LS_PPA_FW_IN_XIP
  196 + default 0x2000
  197 + help
  198 + Length (in bytes) of PPA ESBC header to be copied from MMC/SD or
  199 + NAND to memory to validate PPA image.
190 200  
191 201 endmenu
192 202