From 8f3086aaac00749ce22be205ec01c97597a41b36 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 23 Jan 2017 13:31:23 -0700 Subject: powerpc: Drop CONFIG_SYS_ALLOC_DPRAM This is not defined anywhere in U-Boot. Drop this dead code. Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc8xx/spi.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/powerpc/cpu/mpc8xx/spi.c') 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 */ -- cgit