summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-31 18:44:32 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-31 18:44:32 +0000
commita51879dd01f2cb4da5001084166fc1788669d936 (patch)
tree150068efc5ce048f517855cf632f860ffe843218 /firmware/drivers
parent6824fdf4b3b3a462054a0595f34550b9c0f94b1c (diff)
downloadrockbox-a51879dd01f2cb4da5001084166fc1788669d936.tar.gz
rockbox-a51879dd01f2cb4da5001084166fc1788669d936.zip
creative zvm isp1583 defines: move to isp1583.h
zvm is the only user of this file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31495 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/isp1583.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/drivers/isp1583.c b/firmware/drivers/isp1583.c
index f45ff6eb5e..80dce59731 100644
--- a/firmware/drivers/isp1583.c
+++ b/firmware/drivers/isp1583.c
@@ -54,6 +54,15 @@ struct usb_endpoint
54static unsigned char setup_pkt_buf[8]; 54static unsigned char setup_pkt_buf[8];
55static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS]; 55static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS];
56 56
57#if 0
58#define ZVM_SPECIFIC asm volatile( \
59 "LDR R12, =0x50FFC000\n" \
60 "LDRH R12, [R12]\n" \
61 : : : "r12");
62#else
63#define ZVM_SPECIFIC
64#endif
65
57static bool high_speed_mode = false; 66static bool high_speed_mode = false;
58 67
59static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value) 68static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value)