]> git.sur5r.net Git - u-boot/blobdiff - common/board_r.c
Convert CONFIG_SPI to Kconfig
[u-boot] / common / board_r.c
index 0f4479a58bc28cde01f693de18d8149abf662885..7a3d4ca088e99c0d56814caf6a649e8d87dc05dc 100644 (file)
@@ -386,8 +386,8 @@ static int initr_flash(void)
 #if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI)
 static int initr_spi(void)
 {
-       /* PPC does this here */
-#ifdef CONFIG_SPI
+       /* MPC8xx does this here */
+#ifdef CONFIG_MPC8XX_SPI
 #if !defined(CONFIG_ENV_IS_IN_EEPROM)
        spi_init_f();
 #endif