]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/xilinx/zynq/board.c
ARM: zynq: provide config option to select emio
[karo-tx-uboot.git] / board / xilinx / zynq / board.c
index e1310565451433fa73ce8ec5fee52bdbe4f20d63..47f85c7fb42a930a0b010247373090fa24fabc36 100644 (file)
@@ -119,11 +119,13 @@ int board_eth_init(bd_t *bis)
 #if defined(CONFIG_ZYNQ_GEM)
 # if defined(CONFIG_ZYNQ_GEM0)
        ret |= zynq_gem_initialize(bis, ZYNQ_GEM_BASEADDR0,
-                                               CONFIG_ZYNQ_GEM_PHY_ADDR0, 0);
+                                  CONFIG_ZYNQ_GEM_PHY_ADDR0,
+                                  CONFIG_ZYNQ_GEM_EMIO0);
 # endif
 # if defined(CONFIG_ZYNQ_GEM1)
        ret |= zynq_gem_initialize(bis, ZYNQ_GEM_BASEADDR1,
-                                               CONFIG_ZYNQ_GEM_PHY_ADDR1, 0);
+                                  CONFIG_ZYNQ_GEM_PHY_ADDR1,
+                                  CONFIG_ZYNQ_GEM_EMIO1);
 # endif
 #endif
        return ret;