summaryrefslogtreecommitdiff
path: root/firmware/target (follow)
Commit message (Collapse)AuthorAge
...
* as3525: find_first_set_bit() isn't built in bootloadersRafaël Carré2010-05-25
| | | | | | | We assume only one bit is set and use clz to find the most significant set bit, if there's more than one bit set we'll see it in the panic msg git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26285 a1c6a512-1295-4272-9138-f99709370657
* sdl: call SDL_Quit() before exiting when receiving the SDL_QUIT event. It is ↵Amaury Pouly2010-05-25
| | | | | | necessary as the sdl tree move removed the atexit(SDL_Quit); git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26283 a1c6a512-1295-4272-9138-f99709370657
* as3525: Fix an oops in converting the recording API to a newer form.Michael Sevakis2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26270 a1c6a512-1295-4272-9138-f99709370657
* Vibe 500: fix the scrolling through the lists by implementing BUTTON_REPEAT ↵Szymon Dziok2010-05-24
| | | | | | for the scrollstrip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26268 a1c6a512-1295-4272-9138-f99709370657
* fix YUV Dither for the other targets too, like in r26064.Szymon Dziok2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26266 a1c6a512-1295-4272-9138-f99709370657
* as3525: don't destroy status when calculating IRQ number in UIRQ()Rafaël Carré2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26260 a1c6a512-1295-4272-9138-f99709370657
* as3525: be sure all interrupts are disabled when recordingRafaël Carré2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26257 a1c6a512-1295-4272-9138-f99709370657
* Really cleanup remaining r26253 yellow (hopefully).Michael Sevakis2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26256 a1c6a512-1295-4272-9138-f99709370657
* Cleanup r26253 red and yellow.Michael Sevakis2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26254 a1c6a512-1295-4272-9138-f99709370657
* Make PCM->driver interface about as simple as it will get. Registered ↵Michael Sevakis2010-05-24
| | | | | | callback, zero data, alignment and stops are handled entirely inside pcm.c; driver merely calls fixed pcm.c callback. Remove pcm_record_more and do it just like playback; the original reason behind it isn't very practical in general. Everything checks out on supported targets. There wer some compat changes I can't check out on many unsupoorted but if there's a problem it will be a minor oops. Plugins become incompatible due to recording tweak-- full update. Sorted API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26253 a1c6a512-1295-4272-9138-f99709370657
* as3525*: sd_wait_for_state() is only used for waiting to SD_TRAN stateRafaël Carré2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26251 a1c6a512-1295-4272-9138-f99709370657
* as3525: show unmasked interrupts on unhandled IRQRafaël Carré2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26250 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: RTC alarmRafaël Carré2010-05-22
| | | | | | | A specific poweroff function needs to be used for wake-up to work Disable RTC in bootloaders for consistency with other Sansas git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26243 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: enable AFE (AUDIO Front End) interruptsRafaël Carré2010-05-21
| | | | | | We needed to set the XIRQ output pin git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26238 a1c6a512-1295-4272-9138-f99709370657
* ata: do some threading-related corrections (some sync related where it ↵Michael Sevakis2010-05-21
| | | | | | matters). Make sure 'sleeping' is 'false' before the powerup sequence (throws-off powermgmt and it *is* about to woken again and powermgmt will need to compensate). Avoid looking at mutex flag directly; there's no tangible benefit I can discern and changes to the kernel that alter the meaning shouldn't be able to break anything. For that, in the jz sd driver, have sd_disk_is_active just return 'false' like all the other SD drivers do. If it *must* return this, it should implement it's own method but it seems to not matter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26234 a1c6a512-1295-4272-9138-f99709370657
* Clip+: add charging curveRafaël Carré2010-05-21
| | | | | | | Charge using 150mA current like the OF to charge faster Edit clipv2 charging curve with 150mA git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26227 a1c6a512-1295-4272-9138-f99709370657
* usb-as3525v2: fix typo in a comment.Amaury Pouly2010-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26223 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: charging curveRafaël Carré2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26220 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: cosmeticsRafaël Carré2010-05-20
| | | | | | Move code not defined for bootloader under a single preprocessor check git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26219 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: move buttonlight functions to headerRafaël Carré2010-05-20
| | | | | | | GPIO direction needs only to be set at init both functions are now one liners so make them static inline git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26218 a1c6a512-1295-4272-9138-f99709370657
* Increaase default ipod 3g contrast, to a value between the last two.Torne Wuff2010-05-20
| | | | | | | | | It seems there is some significant variance between different greyscale ipods of the same model, so it's unlikely that *any* value will be great for everyone. I'm hoping that this is just high enough that the lightest screens aren't totally blank, but not dark enough that the darkest screens are entirely unreadably black ;) This rather unsatisfactory compromise is to help us get a new bootloader release out (since bootloaders can't have their contrast adjusted) - a real fix would be to detect the LCD type, which the OF appears to be able to do (maybe). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26208 a1c6a512-1295-4272-9138-f99709370657
* Clipv2: charging curve + voltage limitsRafaël Carré2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26200 a1c6a512-1295-4272-9138-f99709370657
* usb-as3525v2:Amaury Pouly2010-05-20
| | | | | | | | | | - forgot a ccu undocumented thing in init - finish init code (following linux patch) - enable interrupts - don't use dynanmic fifo sizing by default - move to a more static configuration of usb hardware parameters (it might be necessary to move them to config* files later). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26195 a1c6a512-1295-4272-9138-f99709370657
* fuzev2: charging curve and voltage limitsRafaël Carré2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26190 a1c6a512-1295-4272-9138-f99709370657
* fix commentsMarcin Bukat2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26189 a1c6a512-1295-4272-9138-f99709370657
* HD200 - increase sligtly wait states for lcd. This removes clicks in ↵Marcin Bukat2010-05-20
| | | | | | playback and lcd updates are fast anyway git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26188 a1c6a512-1295-4272-9138-f99709370657
* HD200 - fix button readings afrer PLL settings changeMarcin Bukat2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26186 a1c6a512-1295-4272-9138-f99709370657
* HD200 - fix PLL settings. This fixes looong standing bug heavily affecting ↵Marcin Bukat2010-05-20
| | | | | | performance git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26185 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Use longer battery filter; lag is not a problem with voltage for ↵Michael Sevakis2010-05-19
| | | | | | charging since it's I-controlled. Initialize local copy of last_inputs for the power routines in target init otherwise the battery filter is reinitialized too soon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26180 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525v2: masked interrupts and block size won't change, and DMA won't be ↵Rafaël Carré2010-05-19
| | | | | | disabled, so we can just set these in the controller init once for all git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26179 a1c6a512-1295-4272-9138-f99709370657
* as3525: hide our UNCACHED_ADDR from usb_storage.cRafaël Carré2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26178 a1c6a512-1295-4272-9138-f99709370657
* revert part of r26176 to avoid large static allocationRafaël Carré2010-05-19
| | | | | | we still need to convert uncached addresses to physical addresses git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26177 a1c6a512-1295-4272-9138-f99709370657
* as3525: don't use IRAM for usb, and avoid usb storage using uncached ↵Rafaël Carré2010-05-19
| | | | | | | | addresses behind our back No need for special address handling, all addresses are equal to their physical address git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26176 a1c6a512-1295-4272-9138-f99709370657
* Revert r26060. A better fix was found. The acceleration should be fixed once ↵Thomas Martitz2010-05-19
| | | | | | for all now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26175 a1c6a512-1295-4272-9138-f99709370657
* Handshake still grinds to a halt at some point, but it works better now.Tobias Diedrich2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26167 a1c6a512-1295-4272-9138-f99709370657
* fix previous commitRafaël Carré2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26166 a1c6a512-1295-4272-9138-f99709370657
* better preprocessor conditions for enabling GPIOA interruptRafaël Carré2010-05-19
| | | | | | | it's only needed if we hotswap the µSD or if we build the fuzev2 scrollwheel code without irq (which we don't do anyway) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26165 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525: wait 100µs before disabling SD clocksRafaël Carré2010-05-19
| | | | | | test_disk doesn't freeze anymore when closing the file between writing & reading git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26164 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: fix end of charge detectionRafaël Carré2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26163 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525: avoid division when calculating current bank, we only deal with 1 ↵Rafaël Carré2010-05-19
| | | | | | or 2 banks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26161 a1c6a512-1295-4272-9138-f99709370657
* as3525: reorder vectored interruptsRafaël Carré2010-05-19
| | | | | | | | | | | | | The list is ordered by priority, put the DMA and SD interrupts at the top This seems to fix the random freezes on heavy storage operation like building database or pictureflow cache The recently added audio interrupt had a priority higher than SD slot on as3525v1, give it a lower priority git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26160 a1c6a512-1295-4272-9138-f99709370657
* sd-as3525: give timeout in HZ units, not in ticksRafaël Carré2010-05-19
| | | | | | remove a TODO fixed in r26029 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26159 a1c6a512-1295-4272-9138-f99709370657
* HD200 - lm339 response time is at best 300 ns so adcclk can not be too highMarcin Bukat2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26158 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: add partial usb init codeAmaury Pouly2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26157 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Wrong thing messing with IPU_CONF. No fiddling is needed just yet.Michael Sevakis2010-05-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26155 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Implement LCD contrast, invert and flip modes. Enhance LCD power ↵Michael Sevakis2010-05-18
| | | | | | management. Include init data but it's not needed yet (identical to Gigabeat F). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26154 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: show adc channels in the debug menuRafaël Carré2010-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26150 a1c6a512-1295-4272-9138-f99709370657
* Fuzev1: calibrated charging curveRafaël Carré2010-05-18
| | | | | | | Show all the adc channels in the IO ports debug menu (not for as3525v2 since the channels are different) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26149 a1c6a512-1295-4272-9138-f99709370657
* Enable/disable second pll dynamically on usb plugin/remove.Tobias Diedrich2010-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26145 a1c6a512-1295-4272-9138-f99709370657
* as3525 usb: build as3525v2 file based on CONFIG_USBOTG, and fix warningsRafaël Carré2010-05-18
| | | | | | | | build it on fuzev2 and clipv2 too, it should be the same controller as3525v1 file is only build for CONFIG_USBOTG == USBOTG_AS3525, no need to check for it in the .c file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26142 a1c6a512-1295-4272-9138-f99709370657