summaryrefslogtreecommitdiff
path: root/include/configs/pico-imx6ul.h
diff options
context:
space:
mode:
authorDiego Dorta <diego.dorta@nxp.com>2016-06-10 12:07:29 -0300
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:49 +0200
commit6d7aa51accd3ae19ad25259f46a6043ef3f02ce2 (patch)
treec91db9d30fe9dfda049e47a0e64ef3d1d2ce1b4c /include/configs/pico-imx6ul.h
parent618a85356cebe18c8933147fe913a5fe17260332 (diff)
downloadu-boot-6d7aa51accd3ae19ad25259f46a6043ef3f02ce2.tar.gz
u-boot-6d7aa51accd3ae19ad25259f46a6043ef3f02ce2.tar.bz2
u-boot-6d7aa51accd3ae19ad25259f46a6043ef3f02ce2.zip
pico-imx6ul: Add Ethernet support
Pico-imx6ul has a KSZ8081 Ethernet PHY. Add support for it. Signed-off-by: Diego Dorta <diego.dorta@nxp.com> Acked-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/pico-imx6ul.h')
-rw-r--r--include/configs/pico-imx6ul.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index d848eadf25..73e37e1bbd 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -17,6 +17,16 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
+/* Network support */
+
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+#define IMX_FEC_BASE ENET2_BASE_ADDR
+#define CONFIG_FEC_MXC_PHYADDR 0x1
+#define CONFIG_FEC_XCV_TYPE RMII
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MICREL
+
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M)