[U-Boot] [PATCH 2/2] ARM: zynqmp_ep: Enable ethernet for EP

Michal Simek michal.simek at xilinx.com
Thu Jul 30 12:54:17 CEST 2015


Enable gem0 and setup phy addr for EP.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

This patch depends on
"armv8: caches: Added routine to set non cacheable region"
https://patchwork.ozlabs.org/patch/488800/

---
 include/configs/xilinx_zynqmp_ep.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/xilinx_zynqmp_ep.h b/include/configs/xilinx_zynqmp_ep.h
index c872f7ce8aac..e476eb1b496d 100644
--- a/include/configs/xilinx_zynqmp_ep.h
+++ b/include/configs/xilinx_zynqmp_ep.h
@@ -15,6 +15,9 @@
 #ifndef __CONFIG_ZYNQMP_EP_H
 #define __CONFIG_ZYNQMP_EP_H
 
+#define CONFIG_ZYNQ_GEM0
+#define CONFIG_ZYNQ_GEM_PHY_ADDR0	7
+
 #define CONFIG_ZYNQ_SERIAL_UART0
 #define CONFIG_ZYNQ_SDHCI0
 #define CONFIG_ZYNQ_I2C0
-- 
2.3.5



More information about the U-Boot mailing list