]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/ti_omap4_common.h
omap4_common: config: remove I2C for SPL mode
[karo-tx-uboot.git] / include / configs / ti_omap4_common.h
index 2f0e4c0f67d5a7de491996f4871c7e9d51a21d97..bcb5eabd75660c4388b094258fbe2d6964b93db3 100644 (file)
 #define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
 #endif
 
+#ifdef CONFIG_SPL_BUILD
+/* No need for i2c in SPL mode as we will use SRI2C for PMIC access on OMAP4 */
+#undef CONFIG_SYS_I2C
+#undef CONFIG_SYS_I2C_OMAP24XX
+#endif
+
 #endif /* __CONFIG_TI_OMAP4_COMMON_H */