summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2012-03-19fix cache function nameMarcin Bukat
Change-Id: Ica743c1ea4e8e5fd4e4c70c00b0dc1fd019268a2
2012-03-18Add RBCODEC_LIB to android and ypr0 builds so they link again.Frank Gevaerts
Change-Id: I022c7beba844a9b2cfcb8ec7950a1348e4bf511a
2012-03-18gmtime: avoid a modulusRafaël Carré
since WEEK_SECONDS = 7 * DAY_SECONDS, the result is the same Change-Id: Iec161fc2de626c99c1aabf80ab1d3243eac602d9
2012-03-17HDD6330: Correct voltage values, based on the values found in the OF.Szymon Dziok
Change-Id: I76a101cd2c96be06fc95ca16871e5c86c2326c2d
2012-03-17HDD6330: Simplify strange OF voltage calculation, it's linear anyway.Szymon Dziok
Change-Id: I33ecad4a265a4c7e8883da7b6d28fb061a4c8e68
2012-03-17imx233/fuze+: rework lradc/adc code, add external temperature sensing(battery)Amaury Pouly
Rework code to be more useful: - move battery channel init to lradc - always init lradc from system (previously from adc) - don't reserve channels for vddio, nmos or pmos - implement external temperature sensing using current source - use this for battery sensing on the Fuze+ (calibration needed) Change-Id: I5f9a24b9243db7d1e6bdb16b84bc891e61d0c318
2012-03-15fuze+: add unknown channel to debug menuAmaury Pouly
imx233: always divide physical channels by two for wider range The Fuze+ OF monitors channel 2 but I'm unable to determine the meaning of it. Print the value on the debug menu so that people can have a look at it. Change-Id: I8a942febeafbce06014178abda12e38a16c26664
2012-03-15imx233/fuze+: rework i2c and fmradio_i2c initAmaury Pouly
Only enable fmradio_i2c once with _init() called from system. Move actual i2c init to system for consistency. Move tuner power pin setup to power instead of fmradio. Change-Id: Idb56bfba5803f71b5d049f174c48d2afb969a6ea
2012-03-15imx233: enable charging in bootloader USB mode by including powermgmtAmaury Pouly
Change-Id: I8b91b3ab60cb9ffaa127333e9bcef8c33be742fa
2012-03-15skin_engine: New tag to draw a rectangle (optionally with a gradient)Jonathan Gordon
%dr(x, y, width, height, [colour1[, colour2]]): x,y - viewport relative pixel coordinates to start the rectangle. width, height - obvious. can be '-' to fill the viewport if both colours are left out the viewports foreground colour will be used if one colour is specified it will fill the rectangle that colour. if both colours are specified it will gradient fill the rectangle. Change-Id: Iad451e99ded663bc7c5d182443659db7d909b388
2012-03-13Convert IMX233 RTC driver (used in fuze+) to use mktime and gmtimeBertrik Sikken
Change-Id: Ie71d495509a81db5e02078398f5d722c00136072
2012-03-12fix year calculation in gmtimeBertrik Sikken
Change-Id: I9a5f29ad73b5620096d38874c70351db9bd90062
2012-03-12Coldfire: Optimize emac context save/restore in mixer ISR.Michael Sevakis
Save only once if emac is used in ISR and restore only once per ISR call if already saved. Change-Id: I0e40db5d4aab2a8552480f76873f59ff6ccd9977 Reviewed-on: http://gerrit.rockbox.org/176 Tested-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
2012-03-11gmtime: reduce array size: days in month fit in 8 bitsRafaël Carré
Change-Id: Idcebdf0ae120cfc82a1f471d0553d23ca36d7eef
2012-03-11Introduce gmtime.c and use it in the AS3514 RTC driverBertrik Sikken
Change-Id: I00a09ae28a68f8153fb8fa854fea741ddfb0bf09 Reviewed-on: http://gerrit.rockbox.org/175 Tested-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Rafaël Carré <rafael.carre@gmail.com>
2012-03-06rk27xx: lcdif refactoring: make lcdif-rk27xx.c more genericAndrew Ryabinin
iomux_lcd now has parameter for display bit mode settings, so we doesn't need ifdef here. lcd_init_device moved to target specific code lcdif_init configure pins and lcd cotroller Change-Id: I3a2d7fd38b08fe3bc5ebefa8c9f7288c21f58212 Reviewed-on: http://gerrit.rockbox.org/153 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
2012-03-04Tweak paramters of mp3_play_data and callback.Michael Sevakis
Use generic void * and size_t and make mp3_play_data and its callback agree on types. Use mp3_play_callback_t instead of prototyping right in the function call (so it's not so messy to look at). Change doesn't appear to require plugin API version increment. Change-Id: Idcab2740ee316a2beb6e0a87b8f4934d9d6b3dd8
2012-03-04Tweak some PCM drivers for less typecasting with the data pointer.Michael Sevakis
Yeah, sizeof (void) here with GCC is 1. If something has a problem with that, we'll set it straight. Change-Id: I9ad3eee75dd440f6404a04a501d1533c8bc18ba9
2012-03-04AMSv2: add proper definitions for charge currentBertrik Sikken
Change-Id: I6a14570e94df1be62ae46816d2ff4e3f2b7bc21a
2012-03-04rkw-loader: Fix wrong includeAndrew Ryabinin
Change-Id: Iee19d074e7766925d1d68787116b84a08c784a1a
2012-03-04rename rkw.h header fileMarcin Bukat
Change-Id: I2cb6ea7da9c20ed0ef87f4b8ea90d2e4a4a3bca2
2012-03-04rk27xx: switch to RKW format for binaryMarcin Bukat
Change-Id: I859473abbaf05c8268d832b25d15f27f1ea44648
2012-03-04rk27generic: Implement power_off()Marcin Bukat
Change-Id: I6e7685c83c080cbeeff06c588971901e522e4f85
2012-03-04rk27xx: add rolo_restart() rk27xx specific variantMarcin Bukat
Change-Id: Ib786a9ef6318d259ecef783becdd7c0fa6f52730
2012-03-04Add RKW support to roloMarcin Bukat
Change-Id: If0dc0173701e1a4a9e1aa785548596c366306c2b
2012-03-04Add RKW firmware file format loaderMarcin Bukat
Change-Id: I5283fdcdb8d263fd9375a6d29396f82650aeb686
2012-03-04rk27xx: rework linker scripts and crt0.SMarcin Bukat
Change-Id: Id1d509056026bc67e1a5051c60818336933d4aeb
2012-03-03Don't define CPU_* for __PCTOOL__Frank Gevaerts
Change-Id: Id49577a002627eb830f833f101b83471d11ec271
2012-03-03Disable some more sim_ and app_ redirection for __PCTOOL__.Frank Gevaerts
This makes checkwps build again for apps Change-Id: I6fcd299076bd201053012d09e208a0845c2145e2
2012-03-03Integrate the warble tool in the regular build system.Frank Gevaerts
Only sdl app builds work properly for now. Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
2012-03-03Don't set CONFIG_CPU for __PCTOOL__, to avoid wrong asmFrank Gevaerts
Change-Id: I725d80cf5cc49d9b7460b320489cdeb14be942c0
2012-03-03android: drop copied lcd_blit_yuv() and use generic one.Thomas Martitz
Change-Id: I1b9728b138c05c59867ba06370186b2fa5a7c9fd
2012-03-03Undefine HAVE_ADJUSTABLE_CPU_FREQ for __PCTOOL__Frank Gevaerts
Change-Id: I1772df581975ed02134d6d7cb230c0991a92a4e1
2012-03-03Fix __PCTOOL__ dependencies on SIMULATORFrank Gevaerts
* filesize() is not POSIX, so it doesn't need stubbing or redirecting * make the various directory functions use the sim_ versions for PCTOOL * PCTOOL needs generic byteswap functions * fix the database makefile to not use -DSIMULATOR anymore Change-Id: Ic6abc4f662830b85626c751a472fa4a03e844871
2012-03-03Don't redirect file IO to app_* for __PCTOOLS__ builds for dir functions.Frank Gevaerts
Change-Id: If4dc6c373f09f24c9cea4620ea6443e01512b495
2012-03-03Don't redirect file IO to app_* for __PCTOOLS__ builds.Frank Gevaerts
Change-Id: Id8c2d277d4f393cb1bf32654dbd1a21730fd8269
2012-03-03Fix errors in unintentionally merged gerrit commit.Michael Sevakis
It proved the system work as unintended, even if slightly prematurely. It was almost ready anyway. Change-Id: Ic4de2b925bd26b094eaf65a120591569923954d1
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-03-02Pandora port: Add support for the L/R shoulder buttonsThomas Jarosch
Change-Id: I18d5998dbcf7347549008fb9e52679b65fbf7e4f
2012-02-29imx233: correctly stop charging on topoff (fix battery discharging)Amaury Pouly
Change-Id: Ied7ea0a882e532bcf673a96d224dd55fdaae05d4
2012-03-01lcd drivers: split lcd_gradient_rect so it is actually usefulJonathan Gordon
lcd_gradient_rect() was only usable to draw list lines, so split it up and make a generic gradient draw function available to apps/ Change-Id: I665911a90fef239b5e06592ea2763cbeeb74c83f
2012-02-29Fix bugs in lcd drivers after b37e6bcAndrew Ryabinin
Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
2012-02-28imx233: user __FIELD_SET to set the clock divisorsAmaury Pouly
The clock divisors must *NEVER* be 0, first clearing then setting is thus undefined. Change-Id: Iba8e6ba1e668bf746e3f7387f0175f63d81f6b2b
2012-02-28imx233: print power up source in the bootloaderAmaury Pouly
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
2012-02-28lcd/skin_engine: Add the ability to draw onto the backdrop layerJonathan Gordon
The framebuffer the lcd driver uses can now be changed on the fly which means that regular lcd_* drawing functions can draw onto the "backdrop" buffer. The skin engine can use this to create layered effects. Add the tag %VB to a viewport to draw that viewport onto the backdrop layer. If you want to draw an image onto the backdrop framebuffer use %x(backdrop filename) instead of %X() inside a viewport with %VB. Change-Id: I741498e2af6d4f2d78932cabe8942317893e7cfc
2012-02-28rk27xx: Make sure SD module clock is not gatedMarcin Bukat
Change-Id: Iafc9af6cf4762f16f367705b8c9a3e441420905b
2012-02-28Fix build errors and warningsJonathan Gordon
Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
2012-02-28lcd drivers: Convert lcd_[remote_]framebuffer to a pointerJonathan Gordon
Change all lcd drivers to using a pointer to the static framebuffer instead of directly accessing the static array. This will let us later do fun things like dynamic framebuffer sizes (RaaA) or ability to use different buffers for different layers (dynamic skin backdrops!) Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
2012-02-25radio: include power.h in drivers for tuner_power()Amaury Pouly
Change-Id: I1ef8917b28b6d955e456c0b3737d41d356f34ec3
2012-02-25Move radio power handling from apps/ to drivers.Amaury Pouly
Remove direct calls to tuner_power(...) in apps/ and let the driver manage tuner power with the RADIO_SLEEP setting. Change-Id: I37cd0472e60db5d666dae1b9fe4755dd65c03edd Reviewed-on: http://gerrit.rockbox.org/84 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>