From patchwork Fri Feb 13 19:20:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 439619 X-Patchwork-Delegate: sjg@chromium.org 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 757BA1402A8 for ; Sat, 14 Feb 2015 06:21:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A46B24B862; Fri, 13 Feb 2015 20:21:01 +0100 (CET) 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 L-acnmZupj1n; Fri, 13 Feb 2015 20:21:01 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A01AA4B866; Fri, 13 Feb 2015 20:21:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9FDA74B866 for ; Fri, 13 Feb 2015 20:20:57 +0100 (CET) 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 wPGePIKsc7Ey for ; Fri, 13 Feb 2015 20:20:57 +0100 (CET) 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 mail-ig0-f201.google.com (mail-ig0-f201.google.com [209.85.213.201]) by theia.denx.de (Postfix) with ESMTPS id 3D5D74B863 for ; Fri, 13 Feb 2015 20:20:54 +0100 (CET) Received: by mail-ig0-f201.google.com with SMTP id b16so4042314igk.0 for ; Fri, 13 Feb 2015 11:20:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lXy2OjUTujeySd4pvNNLWBQKhfa6DtLfXilFawHNjV4=; b=MTbFPlPJ4VVmu5CNeNQUcDlRN6sZzXgGew3NVG7KvSBHPLHTqT0s7Yt5X5RfKitQSm N2LXQLACclqd8BgqNj4RJT47/1yvRp/Z4VeWy1D51KLwZcYpciWJhDhv5fXbttga7m7Q CLLtI9RfoYo3cl9kOljGEObTNuRtGGIUAH4z+ZBHKj2Qv1lk+uK+8ukoCq92BZEHSTXV ek2Ls+fy+Q9dT3lrwGAb2y+RyO6ZV5xj8c9nk9V4rOjYpPuH8HwvS9WeH7NzBDyWxab6 qZOFE0r+KDsFGAJB1EevlOfLhPirsjQkbubLsXEJiTy9Yo/fLgGghtzWdMswWhlZTIEE fu7w== X-Gm-Message-State: ALoCoQkhvz5sHo3Vyz8KBgq7AhISz68p7Dx/iILQkusezCKxXbsns1BZi+L2JOV0gas/QGJUgIZD X-Received: by 10.182.39.169 with SMTP id q9mr10627576obk.33.1423855253126; Fri, 13 Feb 2015 11:20:53 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id kt5si1716003qcb.3.2015.02.13.11.20.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Feb 2015 11:20:53 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id IDCLgy32.1; Fri, 13 Feb 2015 11:20:53 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 2F0BD2207B2; Fri, 13 Feb 2015 12:20:52 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Fri, 13 Feb 2015 12:20:49 -0700 Message-Id: <1423855249-14590-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1423855249-14590-1-git-send-email-sjg@chromium.org> References: <1423855249-14590-1-git-send-email-sjg@chromium.org> Cc: Fabio Estevam Subject: [U-Boot] [PATCH 3/3] dm: mx6: Adjust mx6sxsabresd to use Kconfig for DM_THERMAL 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" Use Kconfig instead of board config for DM and DM_THERMAL. Signed-off-by: Simon Glass --- configs/mx6sxsabresd_defconfig | 2 ++ configs/mx6sxsabresd_spl_defconfig | 2 ++ include/configs/mx6sxsabresd.h | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig index 72e0f10..cc82322 100644 --- a/configs/mx6sxsabresd_defconfig +++ b/configs/mx6sxsabresd_defconfig @@ -3,3 +3,5 @@ CONFIG_ARM=y CONFIG_TARGET_MX6SXSABRESD=y CONFIG_SYS_MALLOC_F=y CONFIG_SYS_MALLOC_F_LEN=0x400 +CONFIG_DM=y +CONFIG_DM_THERMAL=y diff --git a/configs/mx6sxsabresd_spl_defconfig b/configs/mx6sxsabresd_spl_defconfig index 6b36e06..901b01b 100644 --- a/configs/mx6sxsabresd_spl_defconfig +++ b/configs/mx6sxsabresd_spl_defconfig @@ -2,3 +2,5 @@ CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6SX" +S:CONFIG_ARM=y +S:CONFIG_TARGET_MX6SXSABRESD=y +CONFIG_DM=y +CONFIG_DM_THERMAL=y diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index 1005b9e..a290129 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -227,8 +227,6 @@ #define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(2, 1) #endif -#define CONFIG_DM -#define CONFIG_DM_THERMAL #define CONFIG_IMX6_THERMAL #define CONFIG_CMD_FUSE