From patchwork Tue Jun 7 06:35:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Benard X-Patchwork-Id: 99090 X-Patchwork-Delegate: info@emk-elektronik.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 C08D2B6FAF for ; Tue, 7 Jun 2011 17:11:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3FC0C281B8; Tue, 7 Jun 2011 09:11:14 +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 TSeoEhv-CoSO; Tue, 7 Jun 2011 09:11:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D906C281BA; Tue, 7 Jun 2011 09:11:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BCED928151 for ; Tue, 7 Jun 2011 09:11:04 +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 6ocGV-fWde1p for ; Tue, 7 Jun 2011 09:11:03 +0200 (CEST) X-Greylist: delayed 1800 seconds by postgrey-1.27 at theia; Tue, 07 Jun 2011 09:11:01 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 97.mail-out.ovh.net (18.97.mail-out.ovh.net [178.33.44.185]) by theia.denx.de (Postfix) with ESMTP id 3BB1828193 for ; Tue, 7 Jun 2011 09:11:01 +0200 (CEST) Received: from mail183.ha.ovh.net (b6.ovh.net [213.186.33.56]) by 97.mail-out.ovh.net (Postfix) with SMTP id 0138E4A6183 for ; Tue, 7 Jun 2011 08:35:36 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 7 Jun 2011 08:35:13 +0200 Received: from tal33-3-82-233-81-124.fbx.proxad.net (HELO localhost.localdomain) (ebenard%eukrea.com@82.233.81.124) by ns0.ovh.net with SMTP; 7 Jun 2011 08:35:10 +0200 From: =?UTF-8?q?Eric=20B=C3=A9nard?= To: u-boot@lists.denx.de Date: Tue, 7 Jun 2011 08:35:04 +0200 Message-Id: <1307428508-26058-1-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.7.4.4 MIME-Version: 1.0 X-Ovh-Tracer-Id: 14311876667387063578 X-Ovh-Remote: 82.233.81.124 (tal33-3-82-233-81-124.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: Vade Retro 01.320.21 AV+AS Profile: OVH; Bailout: 300; Subject: [U-Boot] [PATCH 1/5] at91sam9260_devices: fix following atmal rework X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de this patch fix the following error : u-boot/include/asm/arch/at91_pio.h:91: error: 'ATMEL_PIO_PORTS' undeclared here (not in a function) Signed-off-by: Eric BĂ©nard --- arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c b/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c index 6bdc75c..ace1ca8 100644 --- a/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c +++ b/arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c @@ -24,9 +24,10 @@ #include #include +#include #include #include -#include +#include /* * if CONFIG_AT91_GPIO_PULLUP ist set, keep pullups on on all