summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-04-01 17:52:52 +0800
committerYork Sun <york.sun@nxp.com>2016-04-06 10:26:46 -0700
commitfd1b147c2cd65be5a6a048e7c1b0c265bd575e6e (patch)
treef0617f73ff094c754ee60c72e6b01816ddecc0ae /include
parent1b245d9ad3a07b44a6bad42eb365ec38bcc44bdf (diff)
armv8: ls1043a: load Fman ucode from NAND flash under NAND boot
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ls1043a_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index fd243b1c61..2432531358 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -212,7 +212,11 @@
#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