]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc8xx/fec.c
powerpc: Drop CONFIG_SYS_ALLOC_DPRAM
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc8xx / fec.c
index 0940906b1d4b6ba6fa8674c6e38a319000165d6b..b27310fffb97bb46b03652a7dafe5a08472b8b80 100644 (file)
@@ -570,14 +570,8 @@ static int fec_init (struct eth_device *dev, bd_t * bd)
        rxIdx = 0;
        txIdx = 0;
 
-       if (!rtx) {
-#ifdef CONFIG_SYS_ALLOC_DPRAM
-               rtx = (RTXBD *) (immr->im_cpm.cp_dpmem +
-                                dpram_alloc_align (sizeof (RTXBD), 8));
-#else
-               rtx = (RTXBD *) (immr->im_cpm.cp_dpmem + CPM_FEC_BASE);
-#endif
-       }
+       if (!rtx)
+               rtx = (RTXBD *)(immr->im_cpm.cp_dpmem + CPM_FEC_BASE);
        /*
         * Setup Receiver Buffer Descriptors (13.14.24.18)
         * Settings: