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
Michael Sparmann
bb2ff25658
Un-break nano2g USB
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31309 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 22:14:24 +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
Boris Gjenero
8414a44ad4
Remove conditional added around set_day_of_week in r31301.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31305 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:49:48 +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
Boris Gjenero
871c7bd34c
Add conditionals around functions that are only needed when RTC is present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31301 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 21:38:23 +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
Boris Gjenero
bda8a963ad
Add conditionals for functions only needed on SWCODEC targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:58:14 +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
Michael Sevakis
5334379cd4
Add comments source comments about the behavior of yield and sleep.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31288 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 19:57:08 +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é
97fc699b12
typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31286 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 19:42:21 +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
Dominik Riebeling
d16cefca95
mkamsboot: convert to use libtools.make.
...
As a result building mkamsboot for Rockbox Utility will now respect BUILD_DIR,
which should eliminate all possibly remaining issues with dualboot.o.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31283 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:45:05 +00:00
Dominik Riebeling
dfcb85e625
chinachippatcher: convert to use libtools.make.
...
While at it break some long lines in the program output as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31282 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:45:00 +00:00
Dominik Riebeling
17a0c83482
Break some long lines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31281 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 18:44:57 +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é
08fd8adbf5
configure: factorize -D${target}
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31277 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:50:33 +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
Amaury Pouly
0180a1cf55
Oops, fixed the wrong line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31275 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:33:30 +00:00
Amaury Pouly
8632f955f4
Remove two useless variable and hopefully finally fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31274 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:28:30 +00:00
Amaury Pouly
5ab697e8e1
Really fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31273 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:22:47 +00:00
Amaury Pouly
853638274d
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31272 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:19:59 +00:00
Amaury Pouly
2630ab9fc6
Fix debug compilation of enc_base.h: define H_TO_BE32 as htobe32
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31271 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:07:22 +00:00
Amaury Pouly
3a6e3c254e
Add support for for per-drive logical sector size. This allows targets to have a different logical sector size for the internal storage and the sd card, like on the fuze+ for example.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31270 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:07:19 +00:00
Amaury Pouly
39148be8ac
imx233: fix to typo and remove a forgotten panic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31269 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:07:15 +00:00
Amaury Pouly
489296afa3
imx233/fuze+: add support for sd card, enable FAT16 support because it's common on sd cards
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31268 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 17:06:55 +00:00
Tomasz Moń
ddd594b03e
Sansa Connect: Use sleep() instead udelay() in AVR spi_txrx.
...
This should prevent buffer underruns that can occur during heavy use of buttons or scrollwheel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31267 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 15:33:53 +00:00
Rafaël Carré
89aec97f3d
usb-s3c6400: 0x10000000 (bit 28) is DEPCTL_setd0pid
...
fix another mistake introduced in r31222
usb-drv-as3525v2 additionally sets bit DEPCTL_usbactep in this function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31266 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 06:44:50 +00:00
Rafaël Carré
fc8d4b2552
usb-s3c6400: fix error introduced r31222
...
0x00200000 is DEPCTL_stall, not DEPCTL_naksts
the function names should have been a strong indication..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31265 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 06:38:28 +00:00
Michael Sevakis
2026c9506c
Commit the ascodec-as3525.c/ascodec-target.h changes from FS#12452 that keep ascodec_read/write_pmu from keeping interrupts disabled for the full duration of two I2C transfers, which can contribute to I2S PUSH/POP FIFO under/over-flows. 'Tis peppered with a couple interrupt safety mods as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31264 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 03:30:03 +00:00