From a51879dd01f2cb4da5001084166fc1788669d936 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 31 Dec 2011 18:44:32 +0000 Subject: 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 --- firmware/drivers/isp1583.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'firmware/drivers') 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 static unsigned char setup_pkt_buf[8]; static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS]; +#if 0 +#define ZVM_SPECIFIC asm volatile( \ + "LDR R12, =0x50FFC000\n" \ + "LDRH R12, [R12]\n" \ + : : : "r12"); +#else +#define ZVM_SPECIFIC +#endif + static bool high_speed_mode = false; static inline void or_int_value(volatile unsigned short *a, volatile unsigned short *b, unsigned long r, unsigned long value) -- cgit v1.2.3