forked from len0rd/rockbox
imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
333b9ed2c3
commit
2ac668e44c
7 changed files with 86 additions and 1 deletions
|
@ -57,6 +57,16 @@
|
|||
#define FRAME_PHYS_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE - FRAME_SIZE)
|
||||
#define FRAME ((void *)(FRAME_PHYS_ADDR - UNCACHED_DRAM_ADDR + BUFFERED_DRAM_ADDR))
|
||||
|
||||
/* Timer runs at APBX speed which is derived from ref_xtal@24MHz */
|
||||
#define TIMER_FREQ 24000000
|
||||
|
||||
#ifdef SANSA_FUZEPLUS
|
||||
#define TICK_TIMER_NR 0
|
||||
#define USER_TIMER_NR 1
|
||||
#else
|
||||
#error Select timers !
|
||||
#endif
|
||||
|
||||
/* USBOTG */
|
||||
#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(2048)))
|
||||
#define USB_NUM_ENDPOINTS 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue