From: Grazvydas Ignotas Date: Mon, 21 Nov 2011 18:02:53 +0000 (+0200) Subject: Drop I2C dependency on MMC X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4d7b82284130bd9ca3c466ddd8af7393ca17e72;p=pandora-x-loader.git Drop I2C dependency on MMC I could not find evidence this is needed, and all boards build fine without it. Signed-off-by: Grazvydas Ignotas --- diff --git a/lib/board.c b/lib/board.c index 0f6b960..a5b45b8 100644 --- a/lib/board.c +++ b/lib/board.c @@ -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, };