From patchwork Wed May 1 21:44:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 240816 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 DF4902C00C8 for ; Thu, 2 May 2013 07:46:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C1554A269; Wed, 1 May 2013 23:46:17 +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 2FiQtZEaVuNb; Wed, 1 May 2013 23:46:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 19F074A201; Wed, 1 May 2013 23:45:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9F5E64A1D3 for ; Wed, 1 May 2013 23:45:39 +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 gG6o-t9hgfNp for ; Wed, 1 May 2013 23:45:34 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-yh0-f48.google.com (mail-yh0-f48.google.com [209.85.213.48]) by theia.denx.de (Postfix) with ESMTPS id 151294A1DE for ; Wed, 1 May 2013 23:45:17 +0200 (CEST) Received: by mail-yh0-f48.google.com with SMTP id z12so5146yhz.7 for ; Wed, 01 May 2013 14:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=eZlEJOBkLUv/hd+AyGqg5IiAA1nFEAvQjawILavkETw=; b=T/ZcIe21uDx+Wk77gLjjzl7cLoVKp/vE7NkBSjufrkBhxWYd5ZOe6Pya8KHMVQ/euS bEcILA5LpthALaJXvgt56lp6XNuolbpejIxeFhInA3OuIk++iuzPxHbxVxqe7gSxOp86 VhTfjRoFxApqhfZ2wHlWrPhSrdDXLa5bX0X+fX9qtZUYCJg9Y47LXAaAcaEBT/3jc9mZ my4K7gTykCys7Fh5cFoCfp/6r1DfoefdodSUbaqTkzgkZ+L/VbKSL5+hNiV5hYwiJfnY 7Y+7rFLJ1LzmH9ORSke9D2kSFnhCG9JaXtFtHRfBDvkbZdvGYuRL34pb5DcMBIPQwQ0L bCCg== X-Received: by 10.236.194.38 with SMTP id l26mr3169560yhn.26.1367444716370; Wed, 01 May 2013 14:45:16 -0700 (PDT) Received: from localhost.localdomain ([187.106.36.101]) by mx.google.com with ESMTPSA id y24sm3504941yhn.20.2013.05.01.14.45.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 14:45:15 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Date: Wed, 1 May 2013 18:44:45 -0300 Message-Id: <1367444689-31301-6-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367444689-31301-1-git-send-email-festevam@gmail.com> References: <1367444689-31301-1-git-send-email-festevam@gmail.com> Cc: marex@denx.de, u-boot@lists.denx.de, Fabio Estevam , otavio@ossystems.com.br Subject: [U-Boot] [PATCH 5/9] mx23evk: Disable the internal pad keepers 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 From: Fabio Estevam Disable the internal pad keepers to match the code from FSL bootlets and provide better stability. Signed-off-by: Fabio Estevam --- board/freescale/mx23evk/spl_boot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/freescale/mx23evk/spl_boot.c b/board/freescale/mx23evk/spl_boot.c index 035a29c..143aaed 100644 --- a/board/freescale/mx23evk/spl_boot.c +++ b/board/freescale/mx23evk/spl_boot.c @@ -120,5 +120,9 @@ void board_init_ll(void) writel(0, &pinctrl->drive13); writel(0, &pinctrl->drive14); writel(0, &pinctrl->drive9); + + /* Disable the internal pad keepers */ + writel(0x3ffff, &pinctrl->pull3); + mxs_common_spl_init(iomux_setup, ARRAY_SIZE(iomux_setup)); }