summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pp
AgeCommit message (Collapse)Author
2013-04-25Add Serial Port 1 support for iPod Photo/Color/4G/Mini2Gandypotter
Based on FS#9920 by Ryan Press with changes to selection logic so that it works on my iPod Photo. Should also work on iPod Color/4G and Mini2G. Moved all target specific code from firmware/drivers/serial.c into new file firmware/target/arm/pp/uart-pp.c in the same manner as other target specific uart code. Update to fix build error on ipodmini2g by adding defines in config file. Removed unwanted whitespace Tested on iPod Photo. Change-Id: Ia5539563966198e06372d70b5adf2ef78882f863 Reviewed-on: http://gerrit.rockbox.org/455 Reviewed-by: andypotter <liveboxandy@gmail.com> Tested-by: andypotter <liveboxandy@gmail.com> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2013-01-24Fix FS#12391 : Memory corruption on PP502x after commit_discard_idcache()Boris Gjenero
In commit_discard_idcache(), cache lines were marked as invalid. When some cache lines are marked as invalid, memory corruption can occur. This caused instability when using PP502x ATA DMA because of the many more calls to that function. Here, commit_discard_idcache() is changed to avoid the problem. Also, the cache is filled after being enabled to to ensure there are never any cache lines that aren't marked as valid. Change-Id: Ia26300acef6b0573c1f40299c496ee5cbda3dac8 Reviewed-on: http://gerrit.rockbox.org/339 Reviewed-by: Szymon Dziok <b0hoon@o2.pl> Tested-by: Szymon Dziok <b0hoon@o2.pl> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-05-08Remove STATICIRAM hackNils Wallménius
It was only needed by the old arm toolchain that we no longer use or support. Change-Id: Id0e6c67477f8834a637079b03cde5fbf9da68b1c Reviewed-on: http://gerrit.rockbox.org/233 Reviewed-by: Nils Wallménius <nils@rockbox.org>
2012-05-07remove debug-target.hRafaël Carré
2012-03-03Revise the PCM callback system after adding multichannel audio.Michael Sevakis
Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2012-02-04Use commit_dcache() instead of commit_discard_idcache() where possibleBoris Gjenero
- PCM playback DMA doesn't need the discard. Only recording DMA would need it. - When creating threads for another core, the core creating the thread only needs to commit. The discard on the other core is handled elsewhere. Change-Id: I864a0777e22f221a66218efd2c02ff3ad3889736
2012-01-08ascodec-target.h: removeRafaël Carré
move prototypes to ascodec.h move code to ascodec*.c YPR0: use adc-as3514.c instead of duplicating it TODO: merge as3514.h and ascodec.h ? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31626 a1c6a512-1295-4272-9138-f99709370657
2012-01-07lcd-remote-target.h: Use only in firmware/target/Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31614 a1c6a512-1295-4272-9138-f99709370657
2012-01-04Reorganise USB initialisation to not depend on a specific enumeration ↵Frank Gevaerts
sequence, by Bartosz Fabianowski, with minor tweaks by Michael Sevakis (FS#12497) FreeBSD apparently sends a SET_ADDRESS first, which confused our code. This patch fixes that, and also simplifies the connection handling a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31582 a1c6a512-1295-4272-9138-f99709370657
2012-01-04PP: move DEBUG_CANCEL definition to .cRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31570 a1c6a512-1295-4272-9138-f99709370657
2012-01-04dbg_hw_info(): remove duplicate prototypesRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31560 a1c6a512-1295-4272-9138-f99709370657
2012-01-04dbg_ports(): remove duplicate prototypeRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31558 a1c6a512-1295-4272-9138-f99709370657
2012-01-03Fix path to PP USB bootloader crt0Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31535 a1c6a512-1295-4272-9138-f99709370657
2012-01-03move PP specific files to pp/Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31533 a1c6a512-1295-4272-9138-f99709370657
2012-01-03arm/pp : assume CPU_PPRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31532 a1c6a512-1295-4272-9138-f99709370657
2012-01-03Move PP-specific headers to pp/ directoryRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31530 a1c6a512-1295-4272-9138-f99709370657