spi: Remove unused mpc8xx code
[oweals/u-boot.git] / common / board_r.c
index c55e33eec275fdc80911332716619ae8c4948019..3ccef5467b990e75f8ef248b2a0f18e9d384bd1a 100644 (file)
@@ -382,13 +382,6 @@ static int initr_flash(void)
 #if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI)
 static int initr_spi(void)
 {
-       /* MPC8xx does this here */
-#ifdef CONFIG_MPC8XX_SPI
-#if !defined(CONFIG_ENV_IS_IN_EEPROM)
-       spi_init_f();
-#endif
-       spi_init_r();
-#endif
        return 0;
 }
 #endif