From b4d7b82284130bd9ca3c466ddd8af7393ca17e72 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 21 Nov 2011 20:02:53 +0200 Subject: [PATCH] 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 --- lib/board.c | 6 ------ 1 file changed, 6 deletions(-) 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, }; -- 2.39.5