From: Aneesh V Date: Mon, 21 Nov 2011 23:39:01 +0000 (+0000) Subject: omap: remove I2C from SPL X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=473673a5c89cfa24aee92ec5fbae30e2d5557d32;p=u-boot.git omap: remove I2C from SPL Due to some recent changes I2C is no longer required in SPL. Remove the i2c_init() call to save some space Signed-off-by: Aneesh V --- diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index d6d7d65ecf..f72d389f3d 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -115,7 +115,6 @@ void board_init_r(gd_t *id, ulong dummy) CONFIG_SYS_SPL_MALLOC_SIZE); timer_init(); - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); boot_device = omap_boot_device(); debug("boot device - %d\n", boot_device);