summaryrefslogtreecommitdiff
path: root/include/configs/ls1012a_common.h
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2020-05-28 09:12:53 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-07-27 11:46:27 +0300
commite0152dbed683ed02af9294551fd4f03823ef7a5a (patch)
treea53ab855c1f6487abf8eaa806aca9811b90b4c3e /include/configs/ls1012a_common.h
parent02decd4e0ccf1a1f6395f24dfa14e2578f3e6e29 (diff)
downloadu-boot-e0152dbed683ed02af9294551fd4f03823ef7a5a.tar.xz
net: pfe_eth: Use spi_flash_read API to access flash memory
Current PFE firmware access spi-nor memory directly. New spi-mem framework does not support direct memory access. So, let's use spi_flash_read API to access memory instead of directly using it. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/ls1012a_common.h')
-rw-r--r--include/configs/ls1012a_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 3bea9a9186..06af8bf79f 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -36,8 +36,11 @@
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 1024 * 1024)
-/*SPI device */
+/* PFE */
#define CONFIG_SYS_FMAN_FW_ADDR 0x400d0000
+#define CONFIG_SYS_QE_FMAN_FW_LENGTH 0x300000
+
+/*SPI device */
#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000
/* SATA */