]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
omap: remove I2C from SPL
authorAneesh V <aneesh@ti.com>
Mon, 21 Nov 2011 23:39:01 +0000 (23:39 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:34 +0000 (23:59 +0100)
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 <aneesh@ti.com>
arch/arm/cpu/armv7/omap-common/spl.c

index d6d7d65ecf31010baa8e2b59f0ddcff9ff398d9b..f72d389f3d99a76d12b3f28b89883679ed2dddf7 100644 (file)
@@ -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);