From patchwork Fri May 12 11:48:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 761573 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 3wPSvr3SF8z9s75 for ; Fri, 12 May 2017 21:50:16 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0168AC21DDE; Fri, 12 May 2017 11:49:39 +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 11B92C21E18; Fri, 12 May 2017 11:49:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F0A0EC21E21; Fri, 12 May 2017 11:49:14 +0000 (UTC) Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by lists.denx.de (Postfix) with ESMTPS id 15F37C21DF0 for ; Fri, 12 May 2017 11:49:11 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id u187so7368007pgb.1 for ; Fri, 12 May 2017 04:49:11 -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=Kizki438XozugVT0unVTGTOU2uF4vf3bVnzrl5RrSY8=; b=WdCfpYiWU6yvvsbJYeSYANo+zGPSG7mE8134kxv3YnCkBuHTQYX2iZxBnuMdorr5e/ BTstEp1OeX7z782I42ymWPLjUStKf00lCcmyowkYZXwnM/BQbZ18ut2inP04wb5vS1eQ eX8gdeR+odcCXPO01cXPK2zKtZYSXb3FEIux3VmRPBpj3t1a7wirE+xQjKiip3WStQKD u3Frj64MY7mtnmoYZvsagXmpQ3Bv2Qs0jPkpK6x5gdfGCB9UNH6jjrHmPWmUPbBatTfJ cBEPgJ2cJiLw/76vf2MN7xtZPk0VEuTJBLhbwgz06dFlrht1h28jlxHv+mx2nSTrvqAy ZYrQ== X-Gm-Message-State: AODbwcDVPFCMOLamv/GQpwk2LxXQLjNq53+1rxqCxhoT4daGdEhBn7aw yZLPAcf6MEu6Yw== X-Received: by 10.99.96.3 with SMTP id u3mr3902129pgb.69.1494589749778; Fri, 12 May 2017 04:49:09 -0700 (PDT) Received: from localhost.localdomain ([117.247.27.218]) by smtp.gmail.com with ESMTPSA id d3sm7127839pgc.37.2017.05.12.04.49.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 May 2017 04:49:08 -0700 (PDT) From: Jagan Teki To: Stefano Babic Date: Fri, 12 May 2017 17:18:21 +0530 Message-Id: <1494589708-15276-3-git-send-email-jagan@openedev.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494589708-15276-1-git-send-email-jagan@openedev.com> References: <1494589708-15276-1-git-send-email-jagan@openedev.com> Cc: u-boot@lists.denx.de, Matteo Lisi Subject: [U-Boot] [PATCH 2/9] engicam: Move SPL mmc configs under CONFIG_SPL_BUILD 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 - CONFIG_SYS_FSL_USDHC_NUM - CONFIG_SYS_FSL_ESDHC_ADDR Signed-off-by: Jagan Teki --- include/configs/imx6qdl_icore.h | 4 ++-- include/configs/imx6qdl_icore_rqs.h | 5 +++-- include/configs/imx6ul_geam.h | 4 ++-- include/configs/imx6ul_isiot.h | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/configs/imx6qdl_icore.h b/include/configs/imx6qdl_icore.h index f783eac..e4efad2 100644 --- a/include/configs/imx6qdl_icore.h +++ b/include/configs/imx6qdl_icore.h @@ -139,8 +139,6 @@ /* MMC */ #ifdef CONFIG_FSL_USDHC # define CONFIG_SYS_MMC_ENV_DEV 0 -# define CONFIG_SYS_FSL_USDHC_NUM 1 -# define CONFIG_SYS_FSL_ESDHC_ADDR 0 #endif /* NAND */ @@ -205,6 +203,8 @@ # include "imx6_spl.h" # ifdef CONFIG_SPL_BUILD +# define CONFIG_SYS_FSL_USDHC_NUM 1 +# define CONFIG_SYS_FSL_ESDHC_ADDR 0 # undef CONFIG_DM_GPIO # undef CONFIG_DM_MMC # endif diff --git a/include/configs/imx6qdl_icore_rqs.h b/include/configs/imx6qdl_icore_rqs.h index a639468..4bc42eb 100644 --- a/include/configs/imx6qdl_icore_rqs.h +++ b/include/configs/imx6qdl_icore_rqs.h @@ -121,8 +121,6 @@ /* MMC */ #ifdef CONFIG_FSL_USDHC # define CONFIG_SYS_MMC_ENV_DEV 0 -# define CONFIG_SYS_FSL_USDHC_NUM 2 -# define CONFIG_SYS_FSL_ESDHC_ADDR 0 #endif /* Ethernet */ @@ -139,8 +137,11 @@ /* SPL */ #ifdef CONFIG_SPL # define CONFIG_SPL_MMC_SUPPORT + # include "imx6_spl.h" # ifdef CONFIG_SPL_BUILD +# define CONFIG_SYS_FSL_USDHC_NUM 2 +# define CONFIG_SYS_FSL_ESDHC_ADDR 0 # undef CONFIG_DM_GPIO # undef CONFIG_DM_MMC # endif diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h index 9f66dd3..19b366e 100644 --- a/include/configs/imx6ul_geam.h +++ b/include/configs/imx6ul_geam.h @@ -138,8 +138,6 @@ /* MMC */ #ifdef CONFIG_FSL_USDHC # define CONFIG_SYS_MMC_ENV_DEV 0 -# define CONFIG_SYS_FSL_USDHC_NUM 1 -# define CONFIG_SYS_FSL_ESDHC_ADDR 0 #endif /* NAND */ @@ -189,6 +187,8 @@ # include "imx6_spl.h" # ifdef CONFIG_SPL_BUILD +# define CONFIG_SYS_FSL_USDHC_NUM 1 +# define CONFIG_SYS_FSL_ESDHC_ADDR 0 # undef CONFIG_DM_GPIO # undef CONFIG_DM_MMC # endif diff --git a/include/configs/imx6ul_isiot.h b/include/configs/imx6ul_isiot.h index 5ce70ae..ac89cee 100644 --- a/include/configs/imx6ul_isiot.h +++ b/include/configs/imx6ul_isiot.h @@ -138,8 +138,6 @@ /* MMC */ #ifdef CONFIG_FSL_USDHC # define CONFIG_SYS_MMC_ENV_DEV 0 -# define CONFIG_SYS_FSL_USDHC_NUM 2 -# define CONFIG_SYS_FSL_ESDHC_ADDR 0 #endif /* NAND */ @@ -190,6 +188,8 @@ # include "imx6_spl.h" # ifdef CONFIG_SPL_BUILD +# define CONFIG_SYS_FSL_USDHC_NUM 2 +# define CONFIG_SYS_FSL_ESDHC_ADDR 0 # undef CONFIG_DM_GPIO # undef CONFIG_DM_MMC # endif