diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-23 13:31:23 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-25 17:38:42 -0500 |
commit | 8f3086aaac00749ce22be205ec01c97597a41b36 (patch) | |
tree | 9926a2c4f00897a8245001835a65bd025234cf44 /arch/powerpc/cpu/mpc8xx/fec.c | |
parent | cbcbf71bf238abd6daf13116b9a209c8fc98ae64 (diff) | |
download | u-boot-imx-8f3086aaac00749ce22be205ec01c97597a41b36.zip u-boot-imx-8f3086aaac00749ce22be205ec01c97597a41b36.tar.gz u-boot-imx-8f3086aaac00749ce22be205ec01c97597a41b36.tar.bz2 |
powerpc: Drop CONFIG_SYS_ALLOC_DPRAM
This is not defined anywhere in U-Boot. Drop this dead code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/fec.c')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/fec.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/fec.c b/arch/powerpc/cpu/mpc8xx/fec.c index 0940906..b27310f 100644 --- a/arch/powerpc/cpu/mpc8xx/fec.c +++ b/arch/powerpc/cpu/mpc8xx/fec.c @@ -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: |