From patchwork Wed Aug 24 14:40:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 662327 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sK95J07kxz9sXx for ; Thu, 25 Aug 2016 00:42:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4DF25A75A8; Wed, 24 Aug 2016 16:42:39 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4-in0jWnBwyy; Wed, 24 Aug 2016 16:42:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B2F09A7577; Wed, 24 Aug 2016 16:42:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 85F2DA7577 for ; Wed, 24 Aug 2016 16:42:36 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4eDG6M9U2lra for ; Wed, 24 Aug 2016 16:42:36 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from gagarine.paulk.fr (gagarine.paulk.fr [109.190.93.129]) by theia.denx.de (Postfix) with ESMTPS id 4C168A753A for ; Wed, 24 Aug 2016 16:42:31 +0200 (CEST) Received: by gagarine.paulk.fr (Postfix, from userid 65534) id 085D81FE36; Wed, 24 Aug 2016 16:42:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id 39AA91FE17; Wed, 24 Aug 2016 16:42:29 +0200 (CEST) From: Paul Kocialkowski To: u-boot@lists.denx.de Date: Wed, 24 Aug 2016 16:40:41 +0200 Message-Id: <20160824144042.29354-1-contact@paulk.fr> X-Mailer: git-send-email 2.9.3 Cc: Tom Rini Subject: [U-Boot] [PATCH 1/2] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 Reviewed-by: Tom Rini --- 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 */