Commit graph

5150 commits

Author SHA1 Message Date
Karl Kurbjun
6450de3eae Save around a hundred uA - not much, but why not? - No functional change for users.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17519 a1c6a512-1295-4272-9138-f99709370657
2008-05-15 01:04:47 +00:00
Christian Gmeiner
05e8488ad8 Introduce PRESCALER_CAP and move some driver specific code to the correct place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17516 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:35:19 +00:00
Michael Sevakis
955d889a15 Oops. Left a couple things in a bad state when using fading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17515 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 21:29:43 +00:00
Christian Gmeiner
4b07cc13f5 Fail with an error and kick suspect looking default values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17511 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:54:07 +00:00
Maurus Cuelenaere
4cf90663fa Fix yellows and reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17510 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:36:25 +00:00
Michael Sevakis
41b235dacf Fix red. No bother with lcd power management calls in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17508 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 20:26:20 +00:00
Michael Sevakis
009cebeab2 Straigten-out lcd sleeping on Gigabeat F/X. Add a service function to backlight.c to handle lcd sleep timer. Make HAVE_LCD_SLEEP useable without a setting and use HAVE_LCD_SLEEP_SETTING when a setting is available in addition to HCD_HAVE_SLEEP. If a setting isn't used, the target must define the timeout to be used in the config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17505 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:29:25 +00:00
Maurus Cuelenaere
bdc6e624bc 1) Enable USBOTG for ZVM 60GB, even if the driver isn't implemented yet,
so it compiles
2) Disable BUTTON_DEBUG


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17504 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 19:28:06 +00:00
Maurus Cuelenaere
e031db4b87 1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
2) Other unrelated cleanups


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00
Maurus Cuelenaere
727a8059d7 1) Split ZVM into 30GB and 60GB
2) Clean up config
3) Add scramble description


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17502 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 13:51:47 +00:00
Michael Sevakis
403abb94bc Add svn:kewords and svn:eol-style properties. Fix a comment in as3514.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17500 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:39:24 +00:00
Karl Kurbjun
449a7a6643 Cleanup some unneeded debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17499 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:32:43 +00:00
Karl Kurbjun
6e322c8786 Reduce power consumed on the F/X by as much as 12% when the LCD is disabled. Timing is tighter on the SPI interface, if the screen does not come up let me know and we can space it out more - Works on the devices I tested. There will be a brief time (around 15ms) that the screen is all white after coming back on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17498 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 00:26:28 +00:00
Michael Sevakis
50ad342530 Gigabeat S system setup changes. Unaligned loads/stores on. Mixed-endian support on. VIC on early.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17495 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 14:05:28 +00:00
Maurus Cuelenaere
6148a94432 Commit Zen Vision key patches by Falafel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17490 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 07:57:46 +00:00
Christian Gmeiner
785e776246 add BALANCE_CAP and CLIPPING_CAP and move some mas35xx code into audio driver mas35xx.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17489 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 06:19:16 +00:00
Mark Arigo
3e743ec6c9 Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 02:50:31 +00:00
Mark Arigo
7656748221 Preparing for the Philips SA9200 part 1. Move the Sansa ADC & ATA drivers up one level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17487 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 01:53:19 +00:00
Maurus Cuelenaere
93b280a42c Add (preliminary) Zen Vision support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17485 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 21:28:13 +00:00
Christian Gmeiner
207fc5c51c hopefully fix problems with setting bass/treble on wm8751 tragets (mrobe100,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17478 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 18:42:20 +00:00
Andree Buschmann
e8df7c4904 Undo r17470 because of regressions in some debug menus.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 15:37:03 +00:00
Andree Buschmann
0b81405225 Fix for FS#5162. Being able to read scrollwheel action via button_read_device() for iPod's and e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17470 a1c6a512-1295-4272-9138-f99709370657
2008-05-12 08:27:53 +00:00
Michael Sevakis
248194164d Disable the ata locking hack since a recent test strongly suggests it has been resolved as of r17426. Leave the code for now just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17468 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 20:56:27 +00:00
Michael Sevakis
71372162b1 Enable write buffering for the 1MB device memory section. This means using a different device framebuffer address too. You must update the firmware _and_ bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17458 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 15:39:00 +00:00
Maurus Cuelenaere
ba3cfca6dd Use LTV350QV register definitions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17452 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 08:10:57 +00:00
Karl Kurbjun
f177de9aff Fix the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17450 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:12:57 +00:00
Michael Sevakis
209aa8eda5 Real fake IRAM by placing .i.... section in the analagous DRAM sections in the linker scripts that hasn't done this yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 22:03:45 +00:00
Karl Kurbjun
66010b9f30 Fix high power consumption at powerup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17445 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 19:43:23 +00:00
Michael Sevakis
1ec35841d6 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17444 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:32:34 +00:00
Karl Kurbjun
0220a5fbc3 Fix the ARM assembly to ensure that the stack is not used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17443 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:30:46 +00:00
Michael Sevakis
80278e45aa Bring Gigabeat S bootloader one step close to a release version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17442 a1c6a512-1295-4272-9138-f99709370657
2008-05-10 18:00:11 +00:00
Michael Sevakis
6df1a86e99 Remove inner loop from button scanning on Gigabeat S. Requires changing the button codes but it's not a "functional port" so no plugin API version increase is done though a full update will be needed since any using the values will be incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17432 a1c6a512-1295-4272-9138-f99709370657
2008-05-09 21:19:58 +00:00
Michael Sevakis
25583656d9 Backlight brightness setting for Gigabeat S. Cleanup headers in target backlight file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17428 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 22:03:49 +00:00
Jens Arnold
8291cd76de Fix the short audio dropout at disk spinup from power-off on portalplayer targets (observed on Mini G2, probably affected others as well).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17426 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 21:36:50 +00:00
Nils Wallménius
ad5c4b6511 Add two missing rockbox headers and set svn:eol-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17418 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:47:24 +00:00
Nils Wallménius
f24eaabcad Disable clocks for most modules in the imx31l on startup, individual drivers handle enabling/disabling clocks for used modules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17417 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 16:27:23 +00:00
Nils Wallménius
89aca6aa77 Oops, it's called mc13783...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 15:49:46 +00:00
Michael Sevakis
3ff1d584ef Hehe. Should probably implement ide_powered if implementing ide_power_enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17415 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 14:11:26 +00:00
Michael Sevakis
6dd6ea74af Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 12:09:14 +00:00
Michael Sevakis
e616092fd5 Gigabeat S: Might as well show the actual CPU frequency to avoid confusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17413 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:10:09 +00:00
Michael Sevakis
e574efa8f7 Gigabeat S: Allow battery selection from 700mAh to 1200mAh. Default to the stock capacity of 700mAh. Correct selection will be important for proper charging control.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17412 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 10:02:19 +00:00
Michael Sevakis
86680e7f4b Gigabeat S: Put in (so it appears) proper delays for USB PHY reset. Use the atomic regmod functions to change bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17411 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 09:03:19 +00:00
Michael Sevakis
6e5e20b1e1 Remove an unneeded #include and a lone "#" on a line (it's early).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17410 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 08:09:24 +00:00
Michael Sevakis
df4bd0697d Gigabeat S: Add ATA/IDE power management. Fix parameter order of regmod32 as it was intended (had some things mixed up :P).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17409 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 08:03:08 +00:00
Jens Arnold
f18e4db81b Apply 2 small size optimisations. * Put ICODE_ATTR into the function definitions where applicable, saving the separate declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17408 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 05:39:29 +00:00
Maurus Cuelenaere
910fd7858c Move interrupt clearing up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17404 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 13:33:29 +00:00
Jens Arnold
82cda9b091 H10: Disable IDE controller when the disk is powered down like on ipods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17402 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 06:51:28 +00:00
Michael Sevakis
607b63a827 Gigabeat S technical correction: Fix instruction order because clean dcache operand is SBZ.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17401 a1c6a512-1295-4272-9138-f99709370657
2008-05-07 06:13:35 +00:00
Frank Gevaerts
bc1ce741c9 typo fixes (; instead of , at the end of two assignments) (same as r17398 for usb_serial. lesson learned : always check if there are similar bugs elsewhere)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17400 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 21:00:07 +00:00
Frank Gevaerts
ee8ebc9160 typo fixes (; instead of , at the end of two assignments)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17398 a1c6a512-1295-4272-9138-f99709370657
2008-05-06 20:48:50 +00:00