From patchwork Wed Apr 17 14:39:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Paeps X-Patchwork-Id: 237247 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 6D2D22C015A for ; Thu, 18 Apr 2013 00:39:39 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B039E4A2C2; Wed, 17 Apr 2013 16:39:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 ntpQYMb3Wmu6; Wed, 17 Apr 2013 16:39:37 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9425F4A298; Wed, 17 Apr 2013 16:39:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 137664A272 for ; Wed, 17 Apr 2013 16:39:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 GObVdEy7qjGD for ; Wed, 17 Apr 2013 16:39:34 +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 rincewind.paeps.cx (rincewind.paeps.cx [5.9.88.46]) by theia.denx.de (Postfix) with ESMTPS id 52E524A2BA for ; Wed, 17 Apr 2013 16:39:32 +0200 (CEST) Received: from localhost.localdomain (unknown [91.183.54.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: philip) by rincewind.paeps.cx (Postfix) with ESMTPSA id 76C29FFE; Wed, 17 Apr 2013 16:39:31 +0200 (CEST) From: Philip Paeps To: u-boot@lists.denx.de Date: Wed, 17 Apr 2013 16:39:27 +0200 Message-Id: <1366209567-31335-1-git-send-email-philip@paeps.cx> X-Mailer: git-send-email 1.7.2.5 Subject: [U-Boot] [PATCH] mx35 iomux: correct input select register index X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Prior to this fix, calls to mxc_iomux_set_input() for registers after MUX_IN_GPIO2_IN_19 would write to the wrong registers, possibly resulting in unexpected behaviour. Signed-off-by: Philip Paeps --- arch/arm/include/asm/arch-mx35/iomux.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx35/iomux.h b/arch/arm/include/asm/arch-mx35/iomux.h index 52c15bc..7f17ed6 100644 --- a/arch/arm/include/asm/arch-mx35/iomux.h +++ b/arch/arm/include/asm/arch-mx35/iomux.h @@ -141,6 +141,7 @@ typedef enum iomux_input_select { MUX_IN_GPIO2_IN_17, MUX_IN_GPIO2_IN_18, MUX_IN_GPIO2_IN_19, + MUX_IN_GPIO2_IN_1, MUX_IN_GPIO2_IN_20, MUX_IN_GPIO2_IN_21, MUX_IN_GPIO2_IN_22,