From: Reinhard Meyer Date: Tue, 07 Jun 2011 09:56:39 +0200 Subject: [U-Boot] [PATCH 1/5] at91sam9260_devices: fix following atmal rework In-Reply-To: <1307428508-26058-1-git-send-email-eric@eukrea.com> References: <1307428508-26058-1-git-send-email-eric@eukrea.com> Message-ID: <4DEDD9B7.6030708@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Eric B?nard, > 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 at91sam9260/9g20/9xe-ek and top9000 and maybe other 9260 based boards build fine with this file as it is. If certain boards do not build with this file, their .h is probably missing the relevant include of hardware.h. Best Regards, Reinhard