Commit graph

29980 commits

Author SHA1 Message Date
Andrew Ryabinin
40786042df rk27xx: Fix cache broken in r31339. Remove deprecated aliases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31537 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 15:01:16 +00:00
Michael Sevakis
30c4efcd16 i.MX31: Fix a couple oopses from r31528
Enabled a PMIC event where it should be disabled. Used constant from wrong enum
to get sense bits (??) which messed up main charger detection.

Also remove an obsolete struct declaration.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31536 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 06:13:59 +00:00
Rafaël Carré
4c917f76c6 Fix path to PP USB bootloader crt0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31535 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:47:29 +00:00
Rafaël Carré
7ef13eed38 Fix path to PP crt0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31534 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:44:27 +00:00
Rafaël Carré
5cf79723ec move PP specific files to pp/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31533 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:39:56 +00:00
Rafaël Carré
bbe5845f04 arm/pp : assume CPU_PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31532 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:33:26 +00:00
Rafaël Carré
0ff5c5d3ed The connect is not a PP and doesn't have ATA storage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31531 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:31:12 +00:00
Rafaël Carré
a9b9977083 Move PP-specific headers to pp/ directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31530 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:23:24 +00:00
Rafaël Carré
4ef988bfb4 new include directory for targets with common SoC : cpu/soc
for now, only arm/pp

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31529 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:23:08 +00:00
Michael Sevakis
5a8da163c8 i.MX31 - Dethreading operations continue
Dispense with "pmic" thread and process PMIC events directly within ISR. Add
sense bit reading as part of the handling.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31528 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 18:32:35 +00:00
Dominik Riebeling
1f0e653038 Fix cross compiling on OS X.
- The OS X specific flags must not be set when cross compiling. Check for a
  MinGW compiler on OS X before adding them.
- Do not set CC explicitly in chinachippatcher, it will be set from Rockbox
  Utility's Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31527 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 17:45:16 +00:00
Dominik Riebeling
d7b8b10fec Remove unnecessary include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31526 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 17:09:30 +00:00
Dominik Riebeling
97ac4c0e34 Rockbox Utility: update building libs.
- Build libs in a libs/ folder below the build folder. This makes it easier to
  remove them when cleaning the build directory.
- Pass flags via environment instead as parameters to make. Hopefully fixes
  problems when using QtCreator on Windows.
- Respect silent config option when calling the lib Makefiles.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31525 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:29 +00:00
Dominik Riebeling
c5530d9258 Allow passing additional CFLAGS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31524 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:26 +00:00
Dominik Riebeling
8c6c6a6b20 libtools.make: allow overriding variables via environment.
Simplify a bit while at it as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31523 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 16:59:22 +00:00
Thomas Martitz
de6c203b53 ypr0: Tiny cleanup in ypr0 config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31522 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:28 +00:00
Thomas Martitz
81aac5ac1a ypr0: Proper current values measured with battery_bench.
The battery benches were done by Lorenzo Miori, thus credits to him
for this and r31472.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31521 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:24 +00:00
Thomas Martitz
263b080b3b ypr0: Fix power off at low battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31520 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 14:11:07 +00:00
Amaury Pouly
0f4dda78e2 imx233: add AUDIOIN registers, cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31519 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 11:10:17 +00:00
Amaury Pouly
abd51ff640 fuze+: keymap cleanup, correction and simplification (FS #12504 by Jean-Louis Biasini)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31518 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 11:09:55 +00:00
Dominik Riebeling
32aa4d9e56 Remove duplicate note from manual.
The note on how to recursively insert files into the dynamic playlist is
present twice so remove one of them. Since this makes the "Useful Hints"
subsection empty remove that as well, there are no hints left that aren't
merged into the text. (FS#12504 by Jean-Louis Biasini).

While at it remove some hard coded newlines. We really don't want them, if we
want a different spacing for new paragraphs this needs to get adjusted in the
preamble, not after each paragraph.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31517 a1c6a512-1295-4272-9138-f99709370657
2012-01-02 10:52:34 +00:00
Michael Sparmann
d46afc629e Make USB work again on iPod Nano 2G and iPod Classic. Still not 100% stable on Nano 2G, and HID is still broken.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31516 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 21:28:03 +00:00
Rafaël Carré
815eba92fd GHWCFG* are not as3525v2 specific
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31515 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 19:21:49 +00:00
Boris Gjenero
403decf65d Fix FS#12243 : On 20GB H10, restore correct upside down state when waking LCD.
In lcd_power_on(), R_DRV_OUTPUT_CONTROL and R_GATE_SCAN_START_POS are now
initialized like in lcd_set_flip(), so the display wakes up properly when it
is supposed to be upside down.

Thanks to Neil Sharrow for reporting the problem and testing the patch.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31514 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 17:39:30 +00:00
Jonathan Gordon
2dc19005b6 oops, somehow a leading \ went missing making these checks a bit silly!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31513 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 11:34:00 +00:00
Dominik Riebeling
607b384a2a Manual: make Fuze+ manual build.
Add missing keys as \fixme{} and update some opts for text using keys we don't
have on the Fuze+.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31512 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 10:16:47 +00:00
Dominik Riebeling
19694e5068 Manual: add initial Fuze+ files.
Add the platform files and player images. This doesn't make the Fuze+ manual
build yet, since some keys used in generic text are still missing.

Taken out of FS#12492 by Jean-Louis Biasini.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31511 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 10:16:33 +00:00
Michael Sevakis
36bc6a1fd5 Gigabeat S: Revert removal of usb_plugged in r31489
Synchronous cable read is still required because the timing of the receipt of
the cable event cannot be known for sure-- basically it introduced a thread
race between main and pmic. If a keypress is desired instead to enter BL USB
mode a la AS3525, then it's possible to remove that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31510 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 03:19:52 +00:00
Rafaël Carré
7b22ea0d37 usb-drv-as3525v2.c: merge in usb-s3c6400x.c
as3525v2 specific part is 400 LoC, ipod specific less than 300
(comments and whitespace included)

TODO: merge properly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31509 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 21:22:48 +00:00
Rafaël Carré
fd5cb720c4 usb-s3c6400: use more complete functions from usb-drv-as3525v2
update copyright

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31508 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 21:18:10 +00:00
Rafaël Carré
18bee1bafb usb-drv-as3525v2.h: remove
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31507 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 21:15:10 +00:00
Rafaël Carré
12b70597a6 usb-s3c6400x: start factorization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31506 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:38:44 +00:00
Bertrik Sikken
ba03cb4aea Make local functions static in clock and chessbox plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31505 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:29:08 +00:00
Rafaël Carré
c003d6c332 fix r31502: USBOTG_AS3525v2 doesn't exist anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31504 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:20:54 +00:00
Rafaël Carré
a2f6d83eec typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31503 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:14:49 +00:00
Rafaël Carré
cddb1cfb16 Remove USBOTG_AS3525v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31502 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:08:34 +00:00
Rafaël Carré
c55672bcef usb-drv-as3525v2: cosmetics
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31501 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 20:08:29 +00:00
Rafaël Carré
f016893aaa onda: remove now inlined USB_INIT_GPIO()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31500 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:50:45 +00:00
Rafaël Carré
84127c9f69 imx233: fix power_input_status()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31499 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:50:03 +00:00
Rafaël Carré
568c441fd8 usb-target.h: remove
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:55 +00:00
Rafaël Carré
db9ce6dc7f onda 747/777 : move USB_STATUS_BY_EVENT to config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31497 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:43 +00:00
Rafaël Carré
c721c69987 onda usb code: merge into .c file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31496 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:37 +00:00
Rafaël Carré
a51879dd01 creative zvm isp1583 defines: move to isp1583.h
zvm is the only user of this file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31495 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:32 +00:00
Rafaël Carré
6824fdf4b3 USBOTG_ARC's USB_DRIVER_CLOSE: move to config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31494 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:27 +00:00
Rafaël Carré
4d5dff4eae gigabeats usb-target: merge in system-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31493 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:22 +00:00
Rafaël Carré
a117e770a5 delete usb-target.h content redundant with PP usb-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31492 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:18 +00:00
Rafaël Carré
2de47e2bae firewire/usb_remove/insert_int: move to system-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31491 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:12 +00:00
Rafaël Carré
280d5844a1 usb_drv_connected() is declared in usb_drv.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31490 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:07 +00:00
Rafaël Carré
2115eac7bb usb_plugged() is PP only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31489 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:43:59 +00:00
Rafaël Carré
df09274768 move usb_pin_init() declaration to PP's system-target.h
remove duplicate usb_detect() declaration
Remove all content from empty usb-target.h files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31488 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:43:53 +00:00