summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
AgeCommit message (Collapse)AuthorFilesLines
2010-12-05HDD6330: implement lcd_yuv_blit() function. The inner loop is written in ↵Szymon Dziok2-10/+240
assembler and the entire function is about 20% faster than the original from the ipod color. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28737 a1c6a512-1295-4272-9138-f99709370657
2010-12-02HDD6330: implement block transfers through the LCD2 bridge in ↵Szymon Dziok1-35/+63
lcd_update_rect(), speedup is huge, fps over 4 times faster. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28722 a1c6a512-1295-4272-9138-f99709370657
2010-12-01Remove tabsAndree Buschmann3-57/+57
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
2010-11-21Change alignment macros to allow further performance optimization. Define ↵Andree Buschmann1-4/+0
the CACHEALIGN macros for all ARM CPUs, the used alignment size is derived from CACHEALIGN_BITS which has been defined for each supported ARM CPU with r28619. The default alignment size for ARM is set to 32 bytes as new -- not yet supported -- ARM CPUs will most probably need this alignment. To be able to differ between ARM and other CPUs a new macro called MEM_ALIGN_ATTR is introduced. This equals CACHEALIGN_ATTR for ARM, 16 byte alignment for Coldfire and is kept empty for other CPUs. MEM_ALIGN_ATTR is available system wide. From measurements it is expected that the usage of MEM_ALIGN_ATTR can give significant performance gain on ARM11 CPUs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28625 a1c6a512-1295-4272-9138-f99709370657
2010-11-18FS#11608: switch cpu to async operation in boosted modeFred Bauer1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28616 a1c6a512-1295-4272-9138-f99709370657
2010-11-15Implement udelay() for S5L870x. Exchange sleep() with udelay() during CPU ↵Andree Buschmann2-1/+8
voltage scaling. Voltage scaling was measured stable with 50us delay, to have some headroom we use 100us. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28606 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G LCD sleep: Powering down LDO2 also affects USB, so we can't do ↵Michael Sparmann2-858/+665
that to shut off the LCD. Leave it on for now, and use the lightweight approach for waking up the Leadis LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28601 a1c6a512-1295-4272-9138-f99709370657
2010-11-14Move pcm doublebuffer to IRAM on nano 2G.Andree Buschmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28600 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G LCD sleep: Send LCD_EVENT_ACTIVATION eventMichael Sparmann1-846/+847
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28593 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Implement LCD sleep (FS#11604 by Franz-Josef Haider), adds up ↵Michael Sparmann2-30/+471
to 5 hours of battery life git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28591 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Dynamic Vcore scaling, based on current CPU clock. Adds 1-2 ↵Michael Sparmann1-33/+8
hours of battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28590 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Set I2C clock to 374400 Hz, now that we know what it is ↵Michael Sparmann1-10/+10
derived from. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28589 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Use sane (150 microseconds) PLL locking delays and properly ↵Michael Sparmann1-2/+6
set a third CLKCON register I just discovered git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28588 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Fix I2S clocking. All sampling rates should work now.Michael Sparmann1-19/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28581 a1c6a512-1295-4272-9138-f99709370657
2010-11-13iPod Nano 2G: Finally FIQ-less and glitch-free PCM. This should allow for ↵Michael Sparmann1-167/+107
IRQ latencies high enough to allow re-locking PLLs and changing and stabilizing Vcore when switching CPU frequency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28580 a1c6a512-1295-4272-9138-f99709370657
2010-11-13iPod Nano 2G: Post-mortem memory dumper stub (FS#11701)Michael Sparmann2-0/+311
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28573 a1c6a512-1295-4272-9138-f99709370657
2010-11-13iPod Nano 2G FTL: Remove some meaningless code in ftl_initMichael Sparmann1-27/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28570 a1c6a512-1295-4272-9138-f99709370657
2010-11-09Apply FS#11729 - Remove unneeded I2SIN clock configuration for AS3525 and ↵Bertrik Sikken1-9/+4
AS3525v2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28541 a1c6a512-1295-4272-9138-f99709370657
2010-11-06fix yellow and red from r28522Marcin Bukat2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28523 a1c6a512-1295-4272-9138-f99709370657
2010-11-06move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.Marcin Bukat16-12/+244
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
2010-11-02Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 ↵Andree Buschmann1-2/+2
KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657
2010-11-02Fix a small bug that prevented the iPod Nano 2G NAND driver from detecting ↵Michael Sparmann1-2/+2
interleaved write-capable chips. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28448 a1c6a512-1295-4272-9138-f99709370657
2010-10-25Fix iPod Nano 2G bootloader, which was apparently broken by the eabi transitionMichael Sparmann2-11/+20
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28358 a1c6a512-1295-4272-9138-f99709370657
2010-10-25Fix screendump on iPod Nano 2G by increasing the usb thread stack size and ↵Michael Sparmann1-27/+13
reducing the stack usage of FAT and storage functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28356 a1c6a512-1295-4272-9138-f99709370657
2010-10-21HDD6330: fix loading of the OF through the Rockbox bootloader (correct magic ↵Szymon Dziok2-2/+11
values in registers at the start), fix bootloader warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28322 a1c6a512-1295-4272-9138-f99709370657
2010-10-21HDD6330 and HDD1630: split the code for the backlight, cause it's rather ↵Szymon Dziok4-18/+119
different for these targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28321 a1c6a512-1295-4272-9138-f99709370657
2010-10-18HDD6330: Patch to enable/disable backlight.Szymon Dziok1-0/+10
Flyspray FS#11462 Author: David Fowle git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28307 a1c6a512-1295-4272-9138-f99709370657
2010-10-18HDD6330: Try to adapt the keys for the new touchpad code, remove the non ↵Szymon Dziok1-5/+1
existing buttons, enable morse input. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28306 a1c6a512-1295-4272-9138-f99709370657
2010-10-17HDD6330: Configure touchpad (maximum touch sensivity, reduce transmissionSzymon Dziok1-0/+10
overhead). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28300 a1c6a512-1295-4272-9138-f99709370657
2010-10-14as3525v2-usb! fix suspicious calculation of next endpoint in INs chaining codeAmaury Pouly1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28281 a1c6a512-1295-4272-9138-f99709370657
2010-10-12iPod Nano 2G USB: Make sure the USB core is properly powered off on boot.Michael Sparmann1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28261 a1c6a512-1295-4272-9138-f99709370657
2010-10-10Commit FS#11663 by me - Patch: iPod Nano 2G Bootloader: Boot OF if MENU ↵Michael Sparmann1-15/+59
button is held git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28237 a1c6a512-1295-4272-9138-f99709370657
2010-10-01Submit FS#11646. Reduce voltage supply for iPod nano 2G LCD. Significantly ↵Andree Buschmann1-1/+2
reduces buzzing sound of LDS176 type displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28190 a1c6a512-1295-4272-9138-f99709370657
2010-09-25Roll back r28164 as this change introduced LCD issues on some nano 2G.Andree Buschmann1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28166 a1c6a512-1295-4272-9138-f99709370657
2010-09-25Reduce LCD voltage supply to 2500 mV to avoid humming noise of nano 2G.Andree Buschmann1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28164 a1c6a512-1295-4272-9138-f99709370657
2010-09-25Remove code that was unintentionally submitted.Andree Buschmann1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28163 a1c6a512-1295-4272-9138-f99709370657
2010-09-25Add some more information to iPod nano 2G debug screen.Andree Buschmann1-16/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28162 a1c6a512-1295-4272-9138-f99709370657
2010-09-25Disable clickwheel power supply when hold button is active for iPod nano 2G.Andree Buschmann1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28161 a1c6a512-1295-4272-9138-f99709370657
2010-09-24Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.Andree Buschmann1-0/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
2010-09-20*/app.lds: remove STUBOFFSETRafaël Carré16-134/+33
This is related to gdb, and gdb can only work on SH and ifp This was mistakenly kept when app.lds was forked for each SoC Side-effect: fix DEBUG builds when the rockbox binary is expected to be loaded at the start of DRAM and there is no runtime relocation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28124 a1c6a512-1295-4272-9138-f99709370657
2010-09-17Allow e200 to compile without HAVE_RECORDINGFrank Gevaerts1-2/+26
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28104 a1c6a512-1295-4272-9138-f99709370657
2010-09-17Make the call to buttonlight_on() properly depend on HAVE_BUTTON_LIGHTFrank Gevaerts1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28096 a1c6a512-1295-4272-9138-f99709370657
2010-09-16usb_drv_reset() is only used in usb-drv-arc.cRafaël Carré1-1/+1
remove from usb_drv.h and mark static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28092 a1c6a512-1295-4272-9138-f99709370657
2010-09-12AMS USBv2: use OF settings for undocumented registerRafaël Carré1-2/+1
still failing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28061 a1c6a512-1295-4272-9138-f99709370657
2010-09-09Fix beast, forgot the asm label when renaming.Thomas Martitz1-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28058 a1c6a512-1295-4272-9138-f99709370657
2010-09-09Forgot to rename cpucache_flush/_invalidate for PP502x.Thomas Martitz1-2/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28053 a1c6a512-1295-4272-9138-f99709370657
2010-09-08Change sd-as3525*.c to the new cache coherency function names.Thomas Martitz2-6/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28046 a1c6a512-1295-4272-9138-f99709370657
2010-09-08Rename cache coherency functions.Thomas Martitz5-102/+174
The old cache coherency function names where wrong and misleading. The new names are (purposely different from vendor manuals) * commit_* (write-back only) * discard_* (removing lines from cache only) * commit_discard_* (write-back and removing lines from cache) It's suspected the old names have led to wrong uses. The old names still exist (as aliases) so every call via the old names need to be double checked and changed to the new name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28045 a1c6a512-1295-4272-9138-f99709370657
2010-09-08USB AMSv2: use tables for usb_drv_port_speed() and usb_drv_mps_by_type()Rafaël Carré1-24/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28044 a1c6a512-1295-4272-9138-f99709370657
2010-09-08USB AMSv2: split handle_ep_int()Rafaël Carré1-83/+83
IN & OUT interrupts have not much in common so move each to its own function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28043 a1c6a512-1295-4272-9138-f99709370657