summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondavx747.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-ondavx747.h')
-rw-r--r--firmware/export/config-ondavx747.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h
index 2fe0564e71..d4badf89cd 100644
--- a/firmware/export/config-ondavx747.h
+++ b/firmware/export/config-ondavx747.h
@@ -37,7 +37,7 @@
37//#define HAVE_HOTSWAP 37//#define HAVE_HOTSWAP
38 38
39//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD) 39//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
40#define CONFIG_STORAGE STORAGE_RAMDISK /* Multivolume currently handled at firmware/target/ level */ 40#define CONFIG_STORAGE STORAGE_NAND /* Multivolume currently handled at firmware/target/ level */
41 41
42#define CONFIG_NAND NAND_CC 42#define CONFIG_NAND NAND_CC
43 43
@@ -144,7 +144,7 @@
144#define __BACKLIGHT_INIT 144#define __BACKLIGHT_INIT
145 145
146/* Offset ( in the firmware file's header ) to the file CRC */ 146/* Offset ( in the firmware file's header ) to the file CRC */
147#define FIRMWARE_OFFSET_FILE_CRC 0 147#define FIRMWARE_OFFSET_FILE_CRC 0
148 148
149/* Offset ( in the firmware file's header ) to the real data */ 149/* Offset ( in the firmware file's header ) to the real data */
150#define FIRMWARE_OFFSET_FILE_DATA 8 150#define FIRMWARE_OFFSET_FILE_DATA 8
@@ -153,12 +153,18 @@
153/* #define HAVE_ADJUSTABLE_CPU_FREQ */ 153/* #define HAVE_ADJUSTABLE_CPU_FREQ */
154 154
155#define BOOTFILE_EXT "vx747" 155#define BOOTFILE_EXT "vx747"
156#define BOOTFILE "rockbox." BOOTFILE_EXT 156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox" 157#define BOOTDIR "/.rockbox"
158 158
159#define CONFIG_USBOTG USBOTG_JZ4740 159#define CONFIG_USBOTG USBOTG_JZ4740
160#define HAVE_USBSTACK 160#define HAVE_USBSTACK
161#define USB_VENDOR_ID 0x07C4 161#define USE_ROCKBOX_USB
162#define USB_PRODUCT_ID 0xA4A5 162#define USB_VENDOR_ID 0x07C4
163#define USB_PRODUCT_ID 0xA4A5
164#define USB_NUM_ENDPOINTS 3
165/* This needs to be 2048 byte aligned, but USB_QHARRAY_ATTR should take care
166 * of that */
167#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(4)))
168#define USB_DEVBSS_ATTR IBSS_ATTR
163 169
164#endif 170#endif