]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/sunxi_emac.c
sandbox: eth: Add ability to disable ping reply in sandbox eth driver
[karo-tx-uboot.git] / drivers / net / sunxi_emac.c
index 5a06d68af70804b35812b396ea53d58abf54f7e0..2a9fd56c95fe503c434cb21b1623693404e28bec 100644 (file)
@@ -497,7 +497,7 @@ int sunxi_emac_initialize(void)
 
        /* Configure pin mux settings for MII Ethernet */
        for (pin = SUNXI_GPA(0); pin <= SUNXI_GPA(17); pin++)
-               sunxi_gpio_set_cfgpin(pin, SUNXI_GPA0_EMAC);
+               sunxi_gpio_set_cfgpin(pin, SUNXI_GPA_EMAC);
 
        /* Set up clock gating */
        setbits_le32(&ccm->ahb_gate0, 0x1 << AHB_GATE_OFFSET_EMAC);