From patchwork Wed Aug 1 04:13:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 174380 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 81AC52C007F for ; Wed, 1 Aug 2012 14:16:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4801C2808B; Wed, 1 Aug 2012 06:15:31 +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 SNGZvXUxhEDJ; Wed, 1 Aug 2012 06:15:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 29DA1280EC; Wed, 1 Aug 2012 06:14:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1CA16280E3 for ; Wed, 1 Aug 2012 06:14:24 +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 mt7biZ-5y1jN for ; Wed, 1 Aug 2012 06:14:23 +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 avon.wwwdotorg.org (avon.wwwdotorg.org [70.85.31.133]) by theia.denx.de (Postfix) with ESMTPS id A278D2809A for ; Wed, 1 Aug 2012 06:14:03 +0200 (CEST) Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id BA1049EA3E; Tue, 31 Jul 2012 22:19:57 -0600 (MDT) Received: from dart.wwwdotorg.org.wwwdotorg.org (c-98-245-172-142.hsd1.co.comcast.net [98.245.172.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id BDD63E47A4; Tue, 31 Jul 2012 22:14:00 -0600 (MDT) From: Stephen Warren To: Albert Aribaud Date: Tue, 31 Jul 2012 22:13:43 -0600 Message-Id: <1343794423-30553-14-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1343794423-30553-1-git-send-email-swarren@wwwdotorg.org> References: <1343794423-30553-1-git-send-email-swarren@wwwdotorg.org> X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.96.5 at avon.wwwdotorg.org X-Virus-Status: Clean Cc: u-boot@lists.denx.de, linux-rpi-kernel@lists.infradead.org, Tom Rini , Oleksandr Tymoshenko Subject: [U-Boot] [PATCH V2 13/13] rbpi: Add BCM2835 GPIO driver for raspberry pi 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: Vikram Narayanan Add the driver to the default config swarren: Enable CONFIG_CMD_GPIO, so you can actually use the driver. Signed-off-by: Vikram Narayanan Signed-off-by: Stephen Warren --- v2: New patch --- include/configs/rpi_b.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 33169d3..5c91e7d 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -55,7 +55,8 @@ #define CONFIG_SYS_NO_FLASH /* Devices */ -/* None yet */ +/* GPIO */ +#define CONFIG_BCM2835_GPIO /* Console UART */ #define CONFIG_PL011_SERIAL @@ -88,6 +89,7 @@ /* Commands */ #include #define CONFIG_CMD_BOOTZ +#define CONFIG_CMD_GPIO /* Some things don't make sense on this HW or yet */ #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_NET