Bläddra i källkod

Fix build problems with mp2usb board

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk 17 år sedan
förälder
incheckning
e8da58f2bc
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 0
      drivers/usb_ohci.c
  2. 0 2
      include/asm-arm/arch-at91rm9200/hardware.h

+ 4 - 0
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) || \

+ 0 - 2
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 */