summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-19 12:59:14 +0100
committerWolfgang Denk <wd@denx.de>2007-11-19 12:59:14 +0100
commite8da58f2bc092891e8cc92b927ed5c4bd0cb0cab (patch)
tree54bc3942094f29c7ad50ff53c567c1bacb0eb3bf
parent6bf4c686afca1e86e1c384d59218f914605713bf (diff)
downloadu-boot-imx-e8da58f2bc092891e8cc92b927ed5c4bd0cb0cab.zip
u-boot-imx-e8da58f2bc092891e8cc92b927ed5c4bd0cb0cab.tar.gz
u-boot-imx-e8da58f2bc092891e8cc92b927ed5c4bd0cb0cab.tar.bz2
Fix build problems with mp2usb board
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--drivers/usb_ohci.c4
-rw-r--r--include/asm-arm/arch-at91rm9200/hardware.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb_ohci.c b/drivers/usb_ohci.c
index 7ddcab6..cfa384e 100644
--- a/drivers/usb_ohci.c
+++ b/drivers/usb_ohci.c
@@ -59,6 +59,10 @@
#include <usb.h>
#include "usb_ohci.h"
+#ifdef CONFIG_AT91RM9200
+#include <asm/arch/hardware.h> /* needed for AT91_USB_HOST_BASE */
+#endif
+
#if defined(CONFIG_ARM920T) || \
defined(CONFIG_S3C2400) || \
defined(CONFIG_S3C2410) || \
diff --git a/include/asm-arm/arch-at91rm9200/hardware.h b/include/asm-arm/arch-at91rm9200/hardware.h
index 8bb0c47..b868e38 100644
--- a/include/asm-arm/arch-at91rm9200/hardware.h
+++ b/include/asm-arm/arch-at91rm9200/hardware.h
@@ -24,8 +24,6 @@
#ifndef __ASSEMBLY__
#include "AT91RM9200.h"
-#else
-#include "AT91RM9200_inc.h"
#endif
/* Virtual and Physical base address for system peripherals */