From patchwork Fri Oct 30 10:35:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 538236 X-Patchwork-Delegate: sbabic@denx.de 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 D7164140D92 for ; Fri, 30 Oct 2015 21:36:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8E502A74C3; Fri, 30 Oct 2015 11:35:55 +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 xEFikqAqkibp; Fri, 30 Oct 2015 11:35:55 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 72550398F; Fri, 30 Oct 2015 11:35:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7E744A74A6 for ; Fri, 30 Oct 2015 11:35:47 +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 30V8RS0rcqzL for ; Fri, 30 Oct 2015 11:35:47 +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-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by theia.denx.de (Postfix) with ESMTPS id 0EAF4A7484 for ; Fri, 30 Oct 2015 11:35:36 +0100 (CET) Received: by qgeo38 with SMTP id o38so57809744qge.0 for ; Fri, 30 Oct 2015 03:35:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=HoiBuyQf02exeaa2pweyS8E7rY1yCFnnoIerjFrXKxY=; b=KXlKJyTrPOYI2e0uImfpMNPg3Spnfwnpe78dzbePdmECT1xieVR4ZWKd+Ab+dtC9wm pRcEH8I07NZLA1arlzok8JTd+3u5ErFaoR41yRZdiBlSYbd45EQe21FMnPccu5STmZ6O FDm8d2c/gwNcMeanmXIsvvb9hiU9GWZjDGMJznwVA2ibY3EyE/m3mRtnDQUFBboipihz PdqL27E3MevIafquG75hiZHkH1rytPeuUuG1yWJu5OjWohnGHFe/wHuBRy9/OoN2HFqs SiF7NjRzz2A/oXQCNWwxAkDC6EfCDp/ooBe2dQ+6DJkG4xtWync44GaJ6GzrNnq3b1Uc 8jYw== X-Received: by 10.140.36.244 with SMTP id p107mr8815147qgp.37.1446201335939; Fri, 30 Oct 2015 03:35:35 -0700 (PDT) Received: from localhost ([177.100.174.62]) by smtp.gmail.com with ESMTPSA id 16sm2232065qhe.9.2015.10.30.03.35.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 03:35:35 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Fri, 30 Oct 2015 08:35:30 -0200 From: Otavio Salvador To: U-Boot Mailing List Date: Fri, 30 Oct 2015 08:35:00 -0200 Message-Id: <1446201301-29280-5-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446201301-29280-1-git-send-email-otavio@ossystems.com.br> References: <1446201301-29280-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Tom Rini , Otavio Salvador Subject: [U-Boot] [PATCH v5 5/6] iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad() 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" We should also take MX6D option in consideration when defining imx_iomux_v3_setup_pad(). Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None arch/arm/include/asm/imx-common/iomux-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/imx-common/iomux-v3.h index 1a80a96..2e49968 100644 --- a/arch/arm/include/asm/imx-common/iomux-v3.h +++ b/arch/arm/include/asm/imx-common/iomux-v3.h @@ -236,7 +236,7 @@ void imx_iomux_gpio_get_function(unsigned int gpio, #if defined(CONFIG_MX6QDL) #define IOMUX_PADS(x) (MX6Q_##x), (MX6DL_##x) #define SETUP_IOMUX_PAD(def) \ -if (is_cpu_type(MXC_CPU_MX6Q)) { \ +if (is_cpu_type(MXC_CPU_MX6Q) || is_cpu_type(MXC_CPU_MX6D)) { \ imx_iomux_v3_setup_pad(MX6Q_##def); \ } else { \ imx_iomux_v3_setup_pad(MX6DL_##def); \