summaryrefslogtreecommitdiff
path: root/include/configs/ls1046ardb.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-04-25 18:39:51 +0300
committerYork Sun <york.sun@nxp.com>2017-05-23 19:23:52 +0300
commit99b47c25d0e2bdc9ebbd685a87456e175581c695 (patch)
tree54ccbc4654e1529f6d185a480523d4c741b2dd14 /include/configs/ls1046ardb.h
parent5e3f763a4b00b6ca99e3e7e30544c78a8cb05f20 (diff)
downloadu-boot-99b47c25d0e2bdc9ebbd685a87456e175581c695.tar.xz
armv8: ls1046ardb: Make NET independent of FMan
This allows using PCIe NIC without enabling DPAA FMan. Signed-off-by: York Sun <york.sun@nxp.com> CC: Mingkai Hu <mingkai.hu@nxp.com> Acked-by: Mingkai Hu <mingkai.hu@nxp.com>
Diffstat (limited to 'include/configs/ls1046ardb.h')
-rw-r--r--include/configs/ls1046ardb.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 66af039789..7161ee8dd4 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -178,18 +178,20 @@
#define CONFIG_ENV_SECT_SIZE 0x40000 /* 256KB */
#endif
+#define AQR105_IRQ_MASK 0x80000000
/* FMan */
#ifndef SPL_NO_FMAN
-#ifdef CONFIG_SYS_DPAA_FMAN
-#define CONFIG_FMAN_ENET
+
+#ifdef CONFIG_NET
#define CONFIG_PHYLIB
-#define CONFIG_PHYLIB_10G
#define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */
-
#define CONFIG_PHY_REALTEK
-#define CONFIG_PHY_AQUANTIA
-#define AQR105_IRQ_MASK 0x80000000
+#endif
+#ifdef CONFIG_SYS_DPAA_FMAN
+#define CONFIG_FMAN_ENET
+#define CONFIG_PHY_AQUANTIA
+#define CONFIG_PHYLIB_10G
#define RGMII_PHY1_ADDR 0x1
#define RGMII_PHY2_ADDR 0x2
@@ -200,6 +202,7 @@
#define CONFIG_ETHPRIME "FM1@DTSEC3"
#endif
+
#endif
/* QSPI device */