Commit graph

495 commits

Author SHA1 Message Date
Michael Sevakis
b6e78acc5e Get rid of some pcm_apply_settings cruft at the low level I somehow missed. Move the ones in pcm.c around to better spots. Remove a variable from pcm-pnx0101.c that should no longer be there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19402 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 12:46:57 +00:00
Michael Sevakis
e69d567d9e Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:01:07 +00:00
Maurus Cuelenaere
9f76f23ca5 Oops, logic error! Interrupts enabled != in interrupt mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19336 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:35:47 +00:00
Maurus Cuelenaere
203722136c Implement in_interrupt_mode() properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19334 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:06:52 +00:00
Maurus Cuelenaere
7ea9e31658 Ingenic targets:
* Get audio working (only noise atm)
 * Clean up some stuff in USB


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19329 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 19:44:03 +00:00
Maurus Cuelenaere
c848d2dd99 Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19328 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 18:30:36 +00:00
Maurus Cuelenaere
a119c44c7e Ingenic targets:
* Clean up codec & PCM + functional changes
 * LCD: Don't wait on DMAC in lcd_unlock()
 * SADC: add battery mutex + other changes
 * NAND: add mutex
 * USB rework (still not working)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19327 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 18:26:19 +00:00
Maurus Cuelenaere
815998c669 Jz4740 targets: make sure you don't yield when in interrupt mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19309 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 00:20:24 +00:00
Maurus Cuelenaere
18787b15df Fix compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19305 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 21:41:28 +00:00
Michael Sevakis
888451fb0f Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 14:25:45 +00:00
Maurus Cuelenaere
11c63f2f22 Onda VX747: fix LCD bug by blocking lcd_update_rect() requests
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19200 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:41:17 +00:00
Maurus Cuelenaere
c0b43a5ac2 Commit some USB and ATA rework/refactoring (+ USB GPIO detection).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19165 a1c6a512-1295-4272-9138-f99709370657
2008-11-21 12:50:06 +00:00
Maurus Cuelenaere
4af26e7e98 Onda VX747:
* Commit (premature) SD, USB & audio drivers
 * Fix ramdisk.c mistake
 * Add battery readout


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19011 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 00:24:46 +00:00
Maurus Cuelenaere
1e8be6f6b0 Onda VX747:
clean up's, bug fixes and reworks


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19007 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 20:30:01 +00:00
Frank Gevaerts
147a23a6ed More storage work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19003 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 19:36:17 +00:00
Michael Sevakis
a9e69d935c Strange little kernel optimization to ease targeting the timer tick and to limit the number of loops in the tick function to the number of tasks added rather than always looping the max number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18893 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 16:30:24 +00:00
Maurus Cuelenaere
d07ac657a4 Forgot one ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18738 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 20:24:41 +00:00
Maurus Cuelenaere
9407ae838e Onda VX747:
* Button driver rework
 * Backlight driver rework
 * LCD driver rework


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18543 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 21:44:47 +00:00
Maurus Cuelenaere
1e294e3f25 Onda VX747:
* Get rid of bug when interrupts are enabled
 * Get threading to work (although with some weirdness)
 * Other fixes/optimizations


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18512 a1c6a512-1295-4272-9138-f99709370657
2008-09-14 16:26:08 +00:00
Maurus Cuelenaere
69ec3bfdbe Get basic NAND driver working on Onda targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18499 a1c6a512-1295-4272-9138-f99709370657
2008-09-12 00:07:55 +00:00
Maurus Cuelenaere
2b64418a17 More VX767 work...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18489 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 22:02:36 +00:00
Maurus Cuelenaere
1cf8331d7a Hopefully fix LCD problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18485 a1c6a512-1295-4272-9138-f99709370657
2008-09-10 19:59:52 +00:00
Maurus Cuelenaere
e144638167 Add Onda VX767 target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18422 a1c6a512-1295-4272-9138-f99709370657
2008-09-05 15:09:40 +00:00
Maurus Cuelenaere
f3d5700df7 ... but still be compatible with OF..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:47:45 +00:00
Maurus Cuelenaere
aefbd6301a * Clean up Jz4740 USB tool a bit
* Make IHFSsplit compile under Windows
 * Change SDRAM base address + remove hack for Onda VX747


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18395 a1c6a512-1295-4272-9138-f99709370657
2008-09-03 12:42:14 +00:00
Maurus Cuelenaere
62c4a2838e Onda VX747:
* Overall cleanup (still needs work)
  * Add preliminary USB support
  * Add power off support
  * Add preliminary MMU handling


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18348 a1c6a512-1295-4272-9138-f99709370657
2008-08-26 21:48:49 +00:00
Maurus Cuelenaere
1392dc2144 Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-08-23 09:46:38 +00:00
Maurus Cuelenaere
6321262854 Jz4740: get exception handling working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18287 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 15:52:54 +00:00
Maurus Cuelenaere
57c0b6a474 Onda VX747:
* kill TABs in jz4740.h
 * clean up LCD
 * make CONFIG_ORIENTATION work in both ways


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18286 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 14:39:39 +00:00
Maurus Cuelenaere
4bf4d2bb55 * Get interrupts working (but crashes after 10-30secs)
* Make current_tick increase
* Convert button driver into SADC driver
* Make touchscreen handling work better (still needs good calibration routine)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18240 a1c6a512-1295-4272-9138-f99709370657
2008-08-10 21:44:48 +00:00
Maurus Cuelenaere
99fa8cddb8 Remove unneeded request_irq()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18230 a1c6a512-1295-4272-9138-f99709370657
2008-08-09 23:33:48 +00:00
Maurus Cuelenaere
447ffc8bf8 * Add interrupt handling (but still not working)
* Clean up linker script and bootup routines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18229 a1c6a512-1295-4272-9138-f99709370657
2008-08-09 23:31:38 +00:00
Maurus Cuelenaere
88f649f9c5 * Add myself to some areas in docs/MAINTAINERS
* Add lcd_call_enable_hook() call


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18204 a1c6a512-1295-4272-9138-f99709370657
2008-08-06 21:07:45 +00:00
Maurus Cuelenaere
88ae9024e4 * Add basic (non-working) support for NAND flash
* Add panicf() handling
* Add not-yet-enabled dma acceleration
* Other (minor) fixes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18203 a1c6a512-1295-4272-9138-f99709370657
2008-08-06 20:39:02 +00:00
Maurus Cuelenaere
0a09022a39 Fix compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18149 a1c6a512-1295-4272-9138-f99709370657
2008-07-30 09:54:25 +00:00
Maurus Cuelenaere
1f692e5f55 1) Set svn:keywords where they should've been set
2) Onda VX747 specific changes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18080 a1c6a512-1295-4272-9138-f99709370657
2008-07-17 10:13:56 +00:00
Maurus Cuelenaere
3f82e03f11 Remove obsolete function + cleanup code a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18072 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 15:29:03 +00:00
Maurus Cuelenaere
975261f003 Fix the LCD bug!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18071 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 15:25:35 +00:00
Maurus Cuelenaere
753cac37b7 Implement working lcd_off/lcd_on routine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18070 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 13:56:41 +00:00
Maurus Cuelenaere
e3b2f4ffed Switch screen 90 degrees clockwise
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18069 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:54:43 +00:00
Maurus Cuelenaere
ffddab1e66 Use register defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18068 a1c6a512-1295-4272-9138-f99709370657
2008-07-16 12:25:27 +00:00
Maurus Cuelenaere
ebb612fbcc Onda VX747:
1) Improve touchscreen handling
2) Add RTC driver
4) Add NAND Flash ID scanning
3) Other minor fixes

Nand_ID:
Add a generic NAND ID database (currently only containg Samsung chips)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:17:01 +00:00
Maurus Cuelenaere
b632ddf9ca And set svn:eol-style ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18034 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:19:29 +00:00
Maurus Cuelenaere
e6248f2e5d Remove svn:executable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18033 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:09:22 +00:00
Maurus Cuelenaere
0709f0a5c6 Add preliminary support for the Onda VX747 (MIPS target)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18032 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:03:10 +00:00