[U-Boot] [PATCH 1/5] at91sam9260_devices: fix following atmal rework

Eric Bénard eric at eukrea.com
Tue Jun 7 08:35:04 CEST 2011


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 <eric at eukrea.com>
---
 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 <common.h>
 #include <asm/io.h>
+#include <asm/arch/hardware.h>
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_pmc.h>
-#include <asm/arch/gpio.h>
+#include <asm/arch/at91_pio.h>
 
 /*
  * if CONFIG_AT91_GPIO_PULLUP ist set, keep pullups on on all
-- 
1.7.4.4



More information about the U-Boot mailing list