Commit Graph

632 Commits

Author SHA1 Message Date
Michael Sevakis
95e6043d5e Convert remaining memframe LCDs that can be convert to common code.
Massage the way it interfaces a bit to make things more flexible.
The chroma_buf scheme on Sansa Connect and Creative ZVx calling the
lcd_write_yuv420_lines implementation in lcd-as-memframe.S with five params
with a chroma buffer that the function can't use wouldn't work anyway so just
have them use the stock implementation (really, how was that working?).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31335 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 23:40:39 +00:00
Rafaël Carré
014003afac factorize build of ipod files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31320 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 00:21:12 +00:00
Rafaël Carré
6a032a2db1 Factorize ipod mini common code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31318 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 00:03:32 +00:00
Rafaël Carré
5fdfe86af8 Fix mmu-arm.S selection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31317 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 00:03:20 +00:00
Rafaël Carré
a522d66394 factorize build of mmu-arm.S (for armv4/5)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31316 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 23:56:07 +00:00
Rafaël Carré
99fba78eb5 bits-armv4.S: build on arm < 6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31315 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 23:55:54 +00:00
Rafaël Carré
856d888336 factorize common PP files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31313 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 23:29:11 +00:00
Michael Sevakis
71bb87e3fc Fix r31311 red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31312 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 23:24:35 +00:00
Michael Sevakis
62facd1ff2 Collect some of the memory frame LCD C code.
For this commit: Sansa e200v1, Gigabeat F, Gigabeat S and Mini2440 are
changed over. Quite a number of other targets probably can be as well.

General LCD code is moved out of the target drivers into
drivers/lcd-memframe.c.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31311 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 23:07:11 +00:00
Rafaël Carré
f53b8ff959 factorize s5l8700 common code (also used by s5l8701, but not s5l8702)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31310 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 22:27:28 +00:00
Rafaël Carré
e54ead8386 factorize S3C2440 common files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31308 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 22:01:30 +00:00
Rafaël Carré
b52619b5b4 factorize samsung yh common files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31307 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:56:52 +00:00
Rafaël Carré
26479534e2 factorize c200v1/e200v1 common files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31306 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:54:06 +00:00
Rafaël Carré
e38baa0fae philips hdd: factorize
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31304 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:47:22 +00:00
Rafaël Carré
47ea1b0bb7 SOURCES: remove duplicate entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31303 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:47:06 +00:00
Rafaël Carré
8b8e1081c6 build usb-s3c6400x according to CONFIG_USBOTG
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31302 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:46:46 +00:00
Rafaël Carré
213b8ce74b SOURCES: factorize TCC77x files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31300 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:26:03 +00:00
Rafaël Carré
8859c69bb3 SOURCES: factorize common iriver files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31299 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:10:22 +00:00
Rafaël Carré
1b5788819f SOURCES: factorize common iaudio x5/m5 files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31298 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:03:32 +00:00
Rafaël Carré
9ee0035733 move wmcodec-coldfire inside MPIO files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31297 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:59:05 +00:00
Rafaël Carré
160d9f6908 SOURCES: factorize target/coldfire/ata-as-coldfire.S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31295 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:48:15 +00:00
Rafaël Carré
96d1aff8b4 typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31294 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:45:03 +00:00
Rafaël Carré
78368f7268 MPIO: factorize source files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31293 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:39:55 +00:00
Rafaël Carré
d46da0d396 SOURCES: factorize archos drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31292 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:34:32 +00:00
Rafaël Carré
2b81667876 SOURCES: factorize as3514 files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31291 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:34:16 +00:00
Rafaël Carré
c6b9d3dcc9 There's not much to be shared between gigabeatf and gigabeats lcd code
Give the gigabeats a new lcd type

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31290 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:16:05 +00:00
Rafaël Carré
7aff922682 SOURCES: factorize build of some adc drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31289 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:15:54 +00:00
Rafaël Carré
c8d45e0b1c factorize build conditions of adc-as3514.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31287 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 19:48:55 +00:00
Rafaël Carré
6a09b39eb8 SOURCES: select lcd driver based on CONFIG_LCD
Only done for files shared across multiple targets

Note that several targets share the same CONFIG_LCD but use completely
different drivers

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31285 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 19:38:29 +00:00
Rafaël Carré
521512f88a tuner-as3525v2.c: only build what's needed
add a comment about why we don't return 0 when no tuner was detected
build the file on all as3525v2 targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31284 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 19:38:11 +00:00
Rafaël Carré
2b648d3896 revert pcfg5060x part of r31279
pcf5060*.c has the same name than the RTC driver, but it's not the RTC driver itself

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31280 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:29:28 +00:00
Rafaël Carré
67d9c42c9c SOURCES: remove duplicate entries
tuner and rtcs are already included by CONFIG_TUNER and CONFIG_RTC
It's not possible to remove all duplicates, because some models must support 2 RTCs.
a bitfield could be used instead, like is done for CONFIG_TUNER

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31279 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:20:11 +00:00
Rafaël Carré
33467a64a5 move back CPU specific code outside of #ifndef SIMULATOR
it contains fallback files when CPU is not defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31278 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:05:15 +00:00
Rafaël Carré
82c998e5a2 firmware/SOURCES: factorize #ifndef SIMULATOR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31276 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:50:29 +00:00
Rafaël Carré
dfff88562e Sansa Clip: simplify matrix key scan
Merge clipv1/clipv2 code since they use the same 3x3 matrix
clipzip keyscan buttons now work in bootloader
clipplus untouched (no matrix)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31235 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 23:12:21 +00:00
Tomasz Moń
2ee9facc11 Power management is to be kept in target tree due to being target specific.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31136 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 09:48:10 +00:00
Tomasz Moń
de712eebbd Sansa Connect: Add TPS65021 (Power Management) driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31135 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 08:24:08 +00:00
Boris Gjenero
d51e598335 FS#12412 : Delete old buffer allocation code which has been replaced by core_alloc, and move buffer setup code to core_alloc.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31088 a1c6a512-1295-4272-9138-f99709370657
2011-11-29 00:42:27 +00:00
Tomasz Moń
e8a8a1be43 Sandisk Sansa Connect port (FS #12363)
Included are drivers for buttons, backlight, lcd, audio and storage.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Jonathan Gordon
be716c0be8 Finally commit FS#5111 - piezo clicker for ipods!
Origional implementation by Robert Keevil with contributions from Frederik Vestre,  Stoyan Stratev, Craig Elliott, Michael Sparmann,  Thomas Schott, Rosso Maltese, and syncs from a bunch of other people!

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30995 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 10:25:43 +00:00
Amaury Pouly
0407d92c65 imx233: don't include debug-imx233.c in bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30914 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 13:30:09 +00:00
Andrew Ryabinin
2164aab902 Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 11:53:02 +00:00
Amaury Pouly
623cbd6e02 imx233/fuze+: implement pcm out and audio codec, update SOURCES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30800 a1c6a512-1295-4272-9138-f99709370657
2011-10-18 22:08:41 +00:00
Marcin Bukat
32f763c39a Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30765 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:32:19 +00:00
Bertrik Sikken
f323300b82 Sansa clipzip: make main build compile (plugins still disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30588 a1c6a512-1295-4272-9138-f99709370657
2011-09-24 11:21:01 +00:00
Amaury Pouly
e55394521b imx233/fuze+: implement various audio stubs and update source
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30535 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:40:12 +00:00
Marcin Bukat
2d2eec466a rk27xx - update firmware/SOURCES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30457 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 12:39:37 +00:00
Amaury Pouly
2ac668e44c imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
2011-09-06 00:27:38 +00:00
Thomas Martitz
d0b72e2590 GSoC/Buflib: Add buflib memory alocator to the core.
The buflib memory allocator is handle based and can free and
compact, move or resize memory on demand. This allows to effeciently
allocate memory dynamically without an MMU, by avoiding fragmentation
through memory compaction.

This patch adds the buflib library to the core, along with
convinience wrappers to omit the context parameter. Compaction is
not yet enabled, but will be in a later patch. Therefore, this acts as a
replacement for buffer_alloc/buffer_get_buffer() with the benifit of a debug
menu.

See buflib.h for some API documentation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30380 a1c6a512-1295-4272-9138-f99709370657
2011-08-30 14:01:33 +00:00
Bertrik Sikken
463b3ed8b2 Initial framework for the Sandisk Sansa Clip Zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
2011-08-27 16:21:19 +00:00