Drop I2C dependency on MMC
[pandora-x-loader.git] / lib / board.c
index 0f6b960..a5b45b8 100644 (file)
@@ -47,9 +47,6 @@ int print_info(void)
        return 0;
 }
 
-/* !!! why is I2C dependent on MMC? */
-
-#ifdef CONFIG_MMC
 #ifdef CONFIG_DRIVER_OMAP34XX_I2C
 static int init_func_i2c (void)
 {
@@ -57,7 +54,6 @@ static int init_func_i2c (void)
        return 0;
 }
 #endif
-#endif
 
 typedef int (init_fnc_t) (void);
 
@@ -69,10 +65,8 @@ init_fnc_t *init_sequence[] = {
 #endif
        print_info,
        nand_init,              /* board specific nand init */
-#ifdef CONFIG_MMC
 #ifdef CONFIG_DRIVER_OMAP34XX_I2C
        init_func_i2c,
-#endif
 #endif
        NULL,
 };