]> git.sur5r.net Git - u-boot/commitdiff
armv8: ls1043a: load Fman ucode from NAND flash under NAND boot
authorQianyu Gong <qianyu.gong@nxp.com>
Fri, 1 Apr 2016 09:52:52 +0000 (17:52 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Apr 2016 17:26:46 +0000 (10:26 -0700)
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1043a_common.h

index fd243b1c610b3ff94125b2a7bdb0111dd0b6f32d..2432531358ad645a58c513e640e3195c2e68e1f1 100644 (file)
 #ifdef CONFIG_SYS_DPAA_FMAN
 #define CONFIG_SYS_FM_MURAM_SIZE       0x60000
 
-#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
+#ifdef CONFIG_NAND_BOOT
+/* Store Fman ucode at offeset 0x160000(11 blocks). */
+#define CONFIG_SYS_QE_FMAN_FW_IN_NAND
+#define CONFIG_SYS_FMAN_FW_ADDR                (11 * CONFIG_SYS_NAND_BLOCK_SIZE)
+#elif defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
 #define CONFIG_SYS_QE_FW_IN_SPIFLASH
 #define CONFIG_SYS_FMAN_FW_ADDR                0x400d0000
 #define CONFIG_ENV_SPI_BUS             0