projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
usbdev.c
diff --git
a/cpu/ppc4xx/usbdev.c
b/cpu/ppc4xx/usbdev.c
index 6140d2a9089f4402d82957dfed129042925df67f..faf7f0878ff150f70184eff5ac4d18e37dcf9665 100644
(file)
--- a/
cpu/ppc4xx/usbdev.c
+++ b/
cpu/ppc4xx/usbdev.c
@@
-3,11
+3,11
@@
#include <common.h>
#include <asm/processor.h>
#include <common.h>
#include <asm/processor.h>
-#if (defined(CONFIG_440EP) || defined(CONFIG_440EPX)) &&
(CONFIG_COMMANDS & CF
G_CMD_USB)
+#if (defined(CONFIG_440EP) || defined(CONFIG_440EPX)) &&
defined(CONFI
G_CMD_USB)
#include <usb.h>
#include <usb.h>
+#include <asm/ppc4xx-uic.h>
#include "usbdev.h"
#include "usbdev.h"
-#include "vecnum.h"
#define USB_DT_DEVICE 0x01
#define USB_DT_CONFIG 0x02
#define USB_DT_DEVICE 0x01
#define USB_DT_CONFIG 0x02
@@
-197,7
+197,7
@@
void usb_dev_init()
/*enable interrupts */
*(unsigned char *)USB2D0_INTRUSBE_8 = 0x0f;
/*enable interrupts */
*(unsigned char *)USB2D0_INTRUSBE_8 = 0x0f;
- irq_install_handler(VECNUM_
HSB2D
, (interrupt_handler_t *) usbInt,
+ irq_install_handler(VECNUM_
USBDEV
, (interrupt_handler_t *) usbInt,
NULL);
}
#else
NULL);
}
#else