Revert part of qca953x network fixes as it breaks RAM version
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 24 Aug 2016 14:18:18 +0000 (16:18 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 24 Aug 2016 14:18:18 +0000 (16:18 +0200)
u-boot/board/ar7240/common/qca-eth-953x.c

index e7cd548715771c2760bc8f16a2d180f1e8be58a6..fd4fcb8f64fc46b90e52feaf022a71e82ea71ef9 100644 (file)
@@ -364,8 +364,6 @@ static int ath_gmac_alloc_fifo(int ndesc, ath_gmac_desc_t ** fifo)
                        ~(CFG_CACHELINE_SIZE - 1));
        p = UNCACHED_SDRAM(p);
 
-       memset((void*)p, 0, size);
-
        for (i = 0; i < ndesc; i++)
                fifo[i] = (ath_gmac_desc_t *) p + i;