diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-creativezvm.h | 2 | ||||
-rw-r--r-- | firmware/export/dm320.h | 2 | ||||
-rw-r--r-- | firmware/export/isp1583.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h index ea3cc871a5..2e14f7440c 100644 --- a/firmware/export/config-creativezvm.h +++ b/firmware/export/config-creativezvm.h | |||
@@ -167,8 +167,10 @@ | |||
167 | 167 | ||
168 | #define CONFIG_USBOTG USBOTG_ISP1583 | 168 | #define CONFIG_USBOTG USBOTG_ISP1583 |
169 | #define HAVE_USBSTACK | 169 | #define HAVE_USBSTACK |
170 | #define USE_ROCKBOX_USB | ||
170 | #define USB_VENDOR_ID 0x041e | 171 | #define USB_VENDOR_ID 0x041e |
171 | #define USB_PRODUCT_ID 0x4133 | 172 | #define USB_PRODUCT_ID 0x4133 |
173 | #define USB_NUM_ENDPOINTS 7 | ||
172 | 174 | ||
173 | /*DEBUGGING!*/ | 175 | /*DEBUGGING!*/ |
174 | /* | 176 | /* |
diff --git a/firmware/export/dm320.h b/firmware/export/dm320.h index 0e1623365a..bf7295d463 100644 --- a/firmware/export/dm320.h +++ b/firmware/export/dm320.h | |||
@@ -43,8 +43,6 @@ | |||
43 | #define PHY_IO_BASE2 0x00060000 | 43 | #define PHY_IO_BASE2 0x00060000 |
44 | #define DM320_REG2(addr) (*(volatile unsigned int *)(PHY_IO_BASE2 + (addr))) | 44 | #define DM320_REG2(addr) (*(volatile unsigned int *)(PHY_IO_BASE2 + (addr))) |
45 | 45 | ||
46 | /* USBOTG */ | ||
47 | #define USB_NUM_ENDPOINTS 3 | ||
48 | /* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care | 46 | /* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care |
49 | * of that */ | 47 | * of that */ |
50 | #define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4))) | 48 | #define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4))) |
diff --git a/firmware/export/isp1583.h b/firmware/export/isp1583.h index b65cc078f3..0bdbba886c 100644 --- a/firmware/export/isp1583.h +++ b/firmware/export/isp1583.h | |||
@@ -52,10 +52,10 @@ | |||
52 | #define ISP1583_GEN_UNLCKDEV (*((volatile unsigned short*)(ISP1583_IOBASE+0x7C))) | 52 | #define ISP1583_GEN_UNLCKDEV (*((volatile unsigned short*)(ISP1583_IOBASE+0x7C))) |
53 | #define ISP1583_GEN_TSTMOD (*((volatile unsigned char*)(ISP1583_IOBASE+0x84))) | 53 | #define ISP1583_GEN_TSTMOD (*((volatile unsigned char*)(ISP1583_IOBASE+0x84))) |
54 | 54 | ||
55 | #define set_int_value(a,b,value) a = value; | 55 | #define set_int_value(a,b,value) (a) = (value); |
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | #define ISP1583_UNLOCK_CODE (unsigned short)0xAA37 | 58 | #define ISP1583_UNLOCK_CODE ((unsigned short)0xAA37) |
59 | 59 | ||
60 | /* Initialization registers' bits */ | 60 | /* Initialization registers' bits */ |
61 | 61 | ||