diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-31 18:44:32 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-31 18:44:32 +0000 |
commit | a51879dd01f2cb4da5001084166fc1788669d936 (patch) | |
tree | 150068efc5ce048f517855cf632f860ffe843218 /firmware/drivers/isp1583.c | |
parent | 6824fdf4b3b3a462054a0595f34550b9c0f94b1c (diff) | |
download | rockbox-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/isp1583.c')
-rw-r--r-- | firmware/drivers/isp1583.c | 9 |
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 | |||
54 | static unsigned char setup_pkt_buf[8]; | 54 | static unsigned char setup_pkt_buf[8]; |
55 | static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS]; | 55 | static 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 | |||
57 | static bool high_speed_mode = false; | 66 | static bool high_speed_mode = false; |
58 | 67 | ||
59 | static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value) | 68 | static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value) |