summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/isp1583.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-16 21:05:18 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-05-16 21:05:18 +0000
commit7a8fc3fd9db99fa16976baf7e78059ad766a3ce5 (patch)
tree54a71f42ca8810c3bf635834cb2a66fd0b64038c /firmware/drivers/isp1583.c
parent2ea6da1ebf328a2f9565fe596c774828fd018f2f (diff)
downloadrockbox-7a8fc3fd9db99fa16976baf7e78059ad766a3ce5.tar.gz
rockbox-7a8fc3fd9db99fa16976baf7e78059ad766a3ce5.zip
1) Put USB in IRAM
2) Use defines from usb_drv.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/isp1583.c')
-rw-r--r--firmware/drivers/isp1583.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/drivers/isp1583.c b/firmware/drivers/isp1583.c
index 7e78f87468..4ad6ad20f5 100644
--- a/firmware/drivers/isp1583.c
+++ b/firmware/drivers/isp1583.c
@@ -19,7 +19,6 @@
****************************************************************************/
#include "config.h"
-#include "usb-target.h"
#include "usb_ch9.h"
#include "usb_drv.h"
#include "usb_core.h"
@@ -30,9 +29,6 @@
#define DIR_RX 0
#define DIR_TX 1
-
-#define DIR_OUT 0
-#define DIR_IN 1
struct usb_endpoint
{
@@ -626,7 +622,7 @@ static void bus_reset(void)
}
/* Method for handling interrupts, must be called from usb-<target>.c */
-void usb_drv_int(void)
+void IRAM_ATTR usb_drv_int(void)
{
unsigned long ints;
ints = ISP1583_GEN_INT_READ & ISP1583_INIT_INTEN_READ;