]> git.sur5r.net Git - u-boot/commitdiff
armv8: Kconfig: fsl-ppa: support load PPA from eMMC/SD and NAND Flash
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 17 Mar 2017 08:12:33 +0000 (16:12 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Mar 2017 17:41:09 +0000 (10:41 -0700)
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig

index 0068d3c1fa3f343b24dadddec3d9c470d858dabd..b24462bede9dec9bfb5c89b7d46fec609331f41a 100644 (file)
@@ -135,6 +135,8 @@ config FSL_LS_PPA
 choice
        prompt "FSL Layerscape PPA firmware loading-media select"
        depends on FSL_LS_PPA
+       default SYS_LS_PPA_FW_IN_MMC if SD_BOOT
+       default SYS_LS_PPA_FW_IN_NAND if NAND_BOOT
        default SYS_LS_PPA_FW_IN_XIP
 
 config SYS_LS_PPA_FW_IN_XIP
@@ -143,6 +145,16 @@ config SYS_LS_PPA_FW_IN_XIP
          Say Y here if the PPA firmware locate at XIP flash, such
          as NOR or QSPI flash.
 
+config SYS_LS_PPA_FW_IN_MMC
+       bool "eMMC or SD Card"
+       help
+         Say Y here if the PPA firmware locate at eMMC/SD card.
+
+config SYS_LS_PPA_FW_IN_NAND
+       bool "NAND"
+       help
+         Say Y here if the PPA firmware locate at NAND flash.
+
 endchoice
 
 config SYS_LS_PPA_FW_ADDR
@@ -151,6 +163,9 @@ config SYS_LS_PPA_FW_ADDR
        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
+       default 0x500000 if SYS_LS_PPA_FW_IN_MMC
+       default 0x500000 if SYS_LS_PPA_FW_IN_NAND
+
        help
          If the PPA firmware locate at XIP flash, such as NOR or
          QSPI flash, this address is a directly memory-mapped.