From patchwork Thu May 4 15:11:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 758677 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wJfLD70Wkz9s2P for ; Fri, 5 May 2017 01:37:56 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id A8B96C21C63; Thu, 4 May 2017 15:26:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9B2BDC21C3C; Thu, 4 May 2017 15:23:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C838AC21C6A; Thu, 4 May 2017 15:18:52 +0000 (UTC) Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by lists.denx.de (Postfix) with ESMTPS id F0A8CC21C53 for ; Thu, 4 May 2017 15:18:47 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id s62so2703100pgc.0 for ; Thu, 04 May 2017 08:18:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AS53RJMZCdpwfcBxTMXKvOzJzgfP9zrtQGO1GsW37Pw=; b=oFMoe+2jYJYebcW3EiUKCPEgKbT5SDDRZLnRI8x+kkwIPBVxa+GV/OxeITV6eq+lz7 067ruxLmiGo2r+MrhpZhbolmBqCzd5gxLdXQmSDw/KSgLfVZaqzrwk43W9spoR26A36Q unyC5vck/nGIkFk8mr9652OII14NkXhp79UJEC/y0iKIquQtvQ2bsoqYBlJAKyCWuuBg fnem/N/7fHuc4i73z3xkwfpUdlnbAXB1AsSlluini7yql9oji/8sTB+hOH2q0se9h4Pt wVAeHwqKfG0QIcBi+IkoMPZr5JfVSWDsVBzjMmgHTzxPFv8hx2ofHdwXh6kM/R57nAre qpIw== X-Gm-Message-State: AN3rC/4PpSbnbgYQRzapiR3K/Xxb0E7e7inLFVdiri2nbQo5z5E+iubX UBhE/pHdfRHQkfxX X-Received: by 10.84.216.85 with SMTP id f21mr13282635plj.44.1493911126700; Thu, 04 May 2017 08:18:46 -0700 (PDT) Received: from localhost.localdomain ([59.95.76.120]) by smtp.gmail.com with ESMTPSA id d3sm6803661pgc.37.2017.05.04.08.18.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 May 2017 08:18:45 -0700 (PDT) From: Jagan Teki To: Stefano Babic Date: Thu, 4 May 2017 20:41:39 +0530 Message-Id: <1493910702-6751-31-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493910702-6751-1-git-send-email-jagan@openedev.com> References: <1493910702-6751-1-git-send-email-jagan@openedev.com> Cc: Fabio Estevam , u-boot@lists.denx.de Subject: [U-Boot] [PATCH v5 30/33] ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" From: Jagan Teki Since all defconfig have common CONFIG_DM_* for respective dm uclass configs move them on arch Kconfig and also move CONFIG_OF_CONTROL Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 8 ++++++++ configs/imx6dl_sabresd_defconfig | 8 -------- configs/imx6q_sabresd_defconfig | 8 -------- configs/imx6qdl_sabresd_spl_defconfig | 8 -------- 4 files changed, 8 insertions(+), 24 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index a6958ba..c2aad06 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/arm/cpu/armv7/mx6/Kconfig @@ -145,8 +145,16 @@ config TARGET_IMX6SABRESD bool "imx6sabresd" select BOARD_LATE_INIT select SUPPORT_SPL + select OF_CONTROL select DM + select DM_ETH + select DM_GPIO + select DM_I2C + select DM_MMC + select DM_PMIC + select DM_REGULATOR select DM_THERMAL + select DM_USB select BOARD_EARLY_INIT_F config TARGET_KOSAGI_NOVENA diff --git a/configs/imx6dl_sabresd_defconfig b/configs/imx6dl_sabresd_defconfig index e0fc344..79035fb 100644 --- a/configs/imx6dl_sabresd_defconfig +++ b/configs/imx6dl_sabresd_defconfig @@ -45,14 +45,6 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y -CONFIG_OF_CONTROL=y -CONFIG_DM_ETH=y -CONFIG_DM_I2C=y -CONFIG_DM_GPIO=y -CONFIG_DM_MMC=y -CONFIG_DM_PMIC=y -CONFIG_DM_REGULATOR=y -CONFIG_DM_USB=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set CONFIG_DM_PMIC_PFUZE100=y diff --git a/configs/imx6q_sabresd_defconfig b/configs/imx6q_sabresd_defconfig index de44e02..ceb1a80 100644 --- a/configs/imx6q_sabresd_defconfig +++ b/configs/imx6q_sabresd_defconfig @@ -45,14 +45,6 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y -CONFIG_OF_CONTROL=y -CONFIG_DM_ETH=y -CONFIG_DM_I2C=y -CONFIG_DM_GPIO=y -CONFIG_DM_MMC=y -CONFIG_DM_PMIC=y -CONFIG_DM_REGULATOR=y -CONFIG_DM_USB=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set CONFIG_DM_PMIC_PFUZE100=y diff --git a/configs/imx6qdl_sabresd_spl_defconfig b/configs/imx6qdl_sabresd_spl_defconfig index 9d8c071..7d21932 100644 --- a/configs/imx6qdl_sabresd_spl_defconfig +++ b/configs/imx6qdl_sabresd_spl_defconfig @@ -55,14 +55,6 @@ CONFIG_G_DNL_VENDOR_NUM=0x0525 CONFIG_G_DNL_PRODUCT_NUM=0xa4a5 # CONFIG_VIDEO_SW_CURSOR is not set CONFIG_OF_LIBFDT=y -CONFIG_OF_CONTROL=y -CONFIG_DM_ETH=y -CONFIG_DM_I2C=y -CONFIG_DM_GPIO=y -CONFIG_DM_MMC=y -CONFIG_DM_PMIC=y -CONFIG_DM_REGULATOR=y -CONFIG_DM_USB=y # CONFIG_BLK is not set # CONFIG_DM_MMC_OPS is not set CONFIG_DM_PMIC_PFUZE100=y