From patchwork Wed May 21 21:04:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ash Charles X-Patchwork-Id: 351310 X-Patchwork-Delegate: trini@ti.com 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 719C2140083 for ; Thu, 22 May 2014 07:13:04 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 169184B6C3; Wed, 21 May 2014 23:13:03 +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 PNVxf+LRpUtZ; Wed, 21 May 2014 23:13:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9E3E04B6BA; Wed, 21 May 2014 23:13:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7AB5C4B6AF for ; Wed, 21 May 2014 23:12:58 +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 BAYP0-Ut+gJ2 for ; Wed, 21 May 2014 23:12:55 +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 mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by theia.denx.de (Postfix) with ESMTPS id 4D5AD4B6BA for ; Wed, 21 May 2014 23:12:48 +0200 (CEST) Received: by mail-pd0-f178.google.com with SMTP id v10so1741879pde.23 for ; Wed, 21 May 2014 14:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZSZR3+g76/5mJhvP/Vrp0t9B+8J40GsPY76VTwFF+po=; b=qzuF5rSuQ/WazHnIOc273Q6fgv0Uk3GsnSX+JoSIdl4v8Spq/xbkyUBPRoG3KEgqDC VGJ0dJYqo51R04LyfXwuj6nxg2df7vbhoica5R5sE1XAHLyPGADpjDv2Ff8i+6rZxlqC eGTbJuVVtg1cPi7JaevGqlSuzEcIw1oCOY1V6XNUXU1VsAKsish5XDgxcCg9kEfQtZJv hEYKD3172fR+7KCVPsEE4pF7PpO8W6iKtGsL/G6jiVkEw4PwzV2ySC7L8cY8JessJKQW 6OEL8VgX+9y4QpucBeXqbdjBJF2nqUShIoIEpVk6Yv01BAVGnIg6QmINgqQCGbFaCR7g Bc3g== X-Received: by 10.66.141.197 with SMTP id rq5mr62276583pab.64.1400706333382; Wed, 21 May 2014 14:05:33 -0700 (PDT) Received: from gumstux.bchsia.telus.net (s206-116-3-18.bc.hsia.telus.net. [206.116.3.18]) by mx.google.com with ESMTPSA id mt1sm9589587pbb.31.2014.05.21.14.05.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 14:05:32 -0700 (PDT) From: Ash Charles To: u-boot@lists.denx.de Date: Wed, 21 May 2014 14:04:51 -0700 Message-Id: <1400706295-31871-6-git-send-email-ashcharles@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400706295-31871-1-git-send-email-ashcharles@gmail.com> References: <1398813328-17365-1-git-send-email-ashcharles@gmail.com> <1400706295-31871-1-git-send-email-ashcharles@gmail.com> Cc: Ash Charles Subject: [U-Boot] [Patch v2 5/9] arm: omap3: Fix omap3_overo SPL boot hangup 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 Patch f33b9bd3 [arm: omap3: Enable clocks for peripherals only if they are used] breaks SPL booting on Overo. Since some gpio inputs are read to detect the board revision. But with this patch above, the clocks to the GPIO subsystems are not enabled per default any more. The GPIO banks need to be configured specifically now. Signed-off-by: Ash Charles --- include/configs/omap3_overo.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h index 706c8cc..1e4dfcf 100644 --- a/include/configs/omap3_overo.h +++ b/include/configs/omap3_overo.h @@ -80,6 +80,12 @@ #define CONFIG_OMAP_HSMMC #define CONFIG_DOS_PARTITION +#define CONFIG_OMAP3_GPIO_2 /* GPIO32..63 is in GPIO Bank 2 */ +#define CONFIG_OMAP3_GPIO_3 /* GPIO64..95 is in GPIO Bank 3 */ +#define CONFIG_OMAP3_GPIO_4 /* GPIO96..127 is in GPIO Bank 4 */ +#define CONFIG_OMAP3_GPIO_5 /* GPIO128..159 is in GPIO Bank 5 */ +#define CONFIG_OMAP3_GPIO_6 /* GPIO160..191 is in GPIO Bank 6 */ + /* commands to include */ #include