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/spi.c | |
parent | cbcbf71bf238abd6daf13116b9a209c8fc98ae64 (diff) |
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/spi.c')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/spi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/spi.c b/arch/powerpc/cpu/mpc8xx/spi.c index 6267c0e204..35b425e7c1 100644 --- a/arch/powerpc/cpu/mpc8xx/spi.c +++ b/arch/powerpc/cpu/mpc8xx/spi.c @@ -187,14 +187,7 @@ void spi_init_f (void) spi->spi_tbc = 0; spi->spi_txtmp = 0; - /* Allocate space for one transmit and one receive buffer - * descriptor in the DP ram - */ -#ifdef CONFIG_SYS_ALLOC_DPRAM - dpaddr = dpram_alloc_align (sizeof(cbd_t)*2, 8); -#else dpaddr = CPM_SPI_BASE; -#endif /* 3 */ /* Set up the SPI parameters in the parameter ram */ |