Fix build problems with mp2usb board
authorWolfgang Denk <wd@denx.de>
Mon, 19 Nov 2007 11:59:14 +0000 (12:59 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 19 Nov 2007 11:59:14 +0000 (12:59 +0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/usb_ohci.c
include/asm-arm/arch-at91rm9200/hardware.h

index 7ddcab6..cfa384e 100644 (file)
 #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) || \
index 8bb0c47..b868e38 100644 (file)
@@ -24,8 +24,6 @@
 
 #ifndef __ASSEMBLY__
 #include "AT91RM9200.h"
-#else
-#include "AT91RM9200_inc.h"
 #endif
 
 /* Virtual and Physical base address for system peripherals */