Solomon Peachy
6450cbbdca
headers: Don't blindly include <inttypes.h> in files used by ASM
...
Causes things to go boom with newer toolchains.
Change-Id: Ibd00edc9ea16aae8115b63ebce08ac920b0608a2
2020-03-29 00:49:06 +01:00
Cástor Muñoz
ef572fec52
iPod Nano 2G: use the new USB DesignWare driver
...
Change-Id: I8d1561bf4e239b55617a8d5075457a668e0c312c
2016-08-02 04:57:50 +02:00
Cástor Muñoz
9a4cd2eaee
iPod Nano2G: add IPOD_ACCESSORY_PROTOCOL
...
Change-Id: I78a19972624504bc802d96b9b8e9cec132164c2c
2016-05-14 19:39:09 +02:00
Cástor Muñoz
5017523a6b
Add UART suuport for s5l8700 and s5l8701
...
Add UART support for s5l8700/1 using the UC870X UART controller,
actually the functionallity is disabled and must be enabled for
each individual target. Tested on iPod Nano 2G (s5l8701), not
tested on s5l8700.
Change-Id: Ic0f216bb871502d355a70e4b658e536a2c0976a9
2016-05-13 23:23:01 +02:00
Rafaël Carré
fdcfc8a77c
s5l870x: use usb-s3c6400 defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31223 a1c6a512-1295-4272-9138-f99709370657
2011-12-13 05:25:57 +00:00
Michael Sparmann
70447b529c
usb-s3c6400x.[ch], button-clickwheel.c: Move s5l8701-specific parts to where they belong, prepare for s5l8702
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28800 a1c6a512-1295-4272-9138-f99709370657
2010-12-12 00:52:02 +00:00
Andree Buschmann
08bcbd08d2
S5L870x LCD interface registers are 32 bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28798 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 22:56:12 +00:00
Andree Buschmann
e4a233ed9b
Derive clock and timer defines from frequency of external source.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28791 a1c6a512-1295-4272-9138-f99709370657
2010-12-11 09:39:33 +00:00
Michael Sparmann
316986df67
Oops, forgot to add CLKCON3 to the CPU header. Fixes red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28587 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:11:37 +00:00
Rafaël Carré
680fcd827d
Move CACHEALIGN_BITS to cpu headers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25633 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:50:08 +00:00
Michael Sparmann
2f7a26230c
Add missing parentheses to S5L8701 USEC_TIMER
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23749 a1c6a512-1295-4272-9138-f99709370657
2009-11-25 20:16:16 +00:00
Michael Sparmann
f788e8feff
Fix the S5L8701 µsec timer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23747 a1c6a512-1295-4272-9138-f99709370657
2009-11-25 19:15:19 +00:00
Michael Sparmann
c9dd93e286
Adjust the iPod Nano 2G CPU clock freq again, this time to an exact value. Also add hardware defines for the 9th DMA channel we discovered on the S5L8701, and fix the µsec timer (there were missing braces).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23338 a1c6a512-1295-4272-9138-f99709370657
2009-10-24 23:27:13 +00:00
Michael Sparmann
4e651264c2
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23311 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 19:36:37 +00:00
Michael Sparmann
4a63ac7c00
Add iPod Nano 2G µsec timer, and use it in the clickwheel driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23309 a1c6a512-1295-4272-9138-f99709370657
2009-10-21 18:53:41 +00:00
Bertrik Sikken
8ce01bac89
S5l8700: fix some CLCD controller register names
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23247 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 19:44:50 +00:00
Michael Sparmann
8f1709f434
Adjust iPod Nano 2G CPU speed to 192MHz, which measurements show it to be. Timers will be more accurate now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23237 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 22:32:46 +00:00
Michael Sparmann
b729a7d75e
iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:20:56 +00:00
Michael Sparmann
e6c8a185e5
Implement NAND power management for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23099 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:10:49 +00:00
Dave Chapman
4fe2ee0221
Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x').
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 11:46:23 +00:00
Michael Sparmann
271c67e802
Fix the user timer on iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22959 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 16:01:26 +00:00
Dave Chapman
97cc27411d
Prefix the USB controller registers with USB_ to avoid name clashes with plugins/codecs (e.g. SSR, IR and FAR were already used)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22904 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 02:02:01 +00:00
Dave Chapman
2b7bc42deb
Patch #2 from FS#10633 (Nano 2G developments) by Michael Sparmann - Some hardware define corrections for the S5L8701, needed for the FTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22875 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:53:26 +00:00
Dave Chapman
43ec944e3c
TIMERB is in a different location on the S5L8701
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:05:19 +00:00
Dave Chapman
d67c4d2f6b
Add PLL2 definitions for the S5L8701, plus some config file tweaks for the Nano2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22715 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:36:09 +00:00
Dave Chapman
386503502b
Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Dave Chapman
715d8c63d9
Add auto-detection of Nano 2G LCD type, and an initial attempt at lcd_update() for the second lcd type. This lcd_update works, but not reliably.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21905 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 18:03:09 +00:00
Dave Chapman
a677e1ba26
Oops, r21896 used the wrong #if check. Thanks to Thomas Martitz for spotting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21897 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:19:39 +00:00
Dave Chapman
c969047fea
The S5L8701 has the LCD controller in a different place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21896 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:12:46 +00:00
Bertrik Sikken
92fed35da6
S5L8700/Meizu: miscellaneous minor fixes, stubs added, keywords set
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21820 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 19:36:27 +00:00
Bertrik Sikken
61394b725b
S5L8700: implement timer driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21801 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 10:44:02 +00:00
Thomas Martitz
0dd0e4e072
Correct svn:keywords and svn:eol-style on a few more files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21798 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 09:43:44 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Marcoen Hirschberg
7b10ef9a7c
initial Meizu M6SL port (take 2)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:24:34 +00:00
Marcoen Hirschberg
b2ec13d8f1
Revert "initial Meizu M6SL port"
...
This reverts commit b7bd17ce1715c3a8acbf74a63694c28b6075da5b.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16846 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:53:51 +00:00
Marcoen Hirschberg
c7e5d78241
initial Meizu M6SL port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:29:24 +00:00