diff options
Diffstat (limited to 'firmware/export/imx233.h')
-rw-r--r-- | firmware/export/imx233.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/export/imx233.h b/firmware/export/imx233.h index 2a2097b5d7..d6c84ef6f5 100644 --- a/firmware/export/imx233.h +++ b/firmware/export/imx233.h | |||
@@ -57,6 +57,16 @@ | |||
57 | #define FRAME_PHYS_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE - FRAME_SIZE) | 57 | #define FRAME_PHYS_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE - FRAME_SIZE) |
58 | #define FRAME ((void *)(FRAME_PHYS_ADDR - UNCACHED_DRAM_ADDR + BUFFERED_DRAM_ADDR)) | 58 | #define FRAME ((void *)(FRAME_PHYS_ADDR - UNCACHED_DRAM_ADDR + BUFFERED_DRAM_ADDR)) |
59 | 59 | ||
60 | /* Timer runs at APBX speed which is derived from ref_xtal@24MHz */ | ||
61 | #define TIMER_FREQ 24000000 | ||
62 | |||
63 | #ifdef SANSA_FUZEPLUS | ||
64 | #define TICK_TIMER_NR 0 | ||
65 | #define USER_TIMER_NR 1 | ||
66 | #else | ||
67 | #error Select timers ! | ||
68 | #endif | ||
69 | |||
60 | /* USBOTG */ | 70 | /* USBOTG */ |
61 | #define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(2048))) | 71 | #define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(2048))) |
62 | #define USB_NUM_ENDPOINTS 5 | 72 | #define USB_NUM_ENDPOINTS 5 |