]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc8260/spi.c
powerpc: Drop CONFIG_SYS_ALLOC_DPRAM
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc8260 / spi.c
index 8c91a713bba4a96d92112c02ec91bdeda45af922..c7fb4e9a6c073f16d308d9902e9079f5499e7481 100644 (file)
@@ -181,14 +181,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 = m8260_cpm_dpalloc (sizeof(cbd_t)*2, 8);
-#else
        dpaddr = CPM_SPI_BASE;
-#endif
 
 /* 3 */
        /* Set up the SPI parameters in the parameter ram */