Support for XUPV2P board
[platform/kernel/u-boot.git] / board / xilinx / xilinx_enet / emac_adapter.c
index de62695..5a7e59e 100644 (file)
@@ -147,7 +147,7 @@ eth_rx(void)
        RecvFrameLength = PKTSIZE;
        Result = XEmac_PollRecv(&Emac, (u8 *) etherrxbuff, &RecvFrameLength);
        if (Result == XST_SUCCESS) {
-#ifndef CONFIG_MICROBLAZ
+#ifndef CONFIG_EMACLIT
                NetReceive((uchar *)etherrxbuff, RecvFrameLength);
 #else
                NetReceive(etherrxbuff, RecvFrameLength);