From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Kocialkowski Date: Wed, 24 Aug 2016 20:04:40 +0200 Subject: [U-Boot] [PATCH v2 1/3] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL Message-ID: <20160824180442.11598-1-contact@paulk.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This includes the TWL6030 power driver in SPL, to allow powering up MMC devices. This is especially relevant when the bootrom didn't power any MMC device yet but U-Boot is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT pins in peripheral boot). Signed-off-by: Paul Kocialkowski --- include/configs/ti_omap4_common.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 5fad3c1..7e08887 100644 --- a/include/configs/ti_omap4_common.h +++ b/include/configs/ti_omap4_common.h @@ -65,9 +65,7 @@ #define CONFIG_CONS_INDEX 3 /* TWL6030 */ -#ifndef CONFIG_SPL_BUILD #define CONFIG_TWL6030_POWER 1 -#endif /* USB */ #define CONFIG_USB_MUSB_UDC 1 @@ -162,11 +160,4 @@ #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 -#undef CONFIG_SPL_I2C_SUPPORT -#endif - #endif /* __CONFIG_TI_OMAP4_COMMON_H */ -- 2.9.3