diff options
author | andypotter <liveboxandy@gmail.com> | 2013-04-15 20:09:39 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2013-04-25 21:02:09 +0200 |
commit | ecaa40166000e3d6b49542d42804127c0a6079e2 (patch) | |
tree | 35ce073fb6d63f90fa3be39aa7433907327b8998 /firmware/SOURCES | |
parent | 354c9894062886443e1c53cc4dc5669a1d72a5f4 (diff) | |
download | rockbox-ecaa40166000e3d6b49542d42804127c0a6079e2.tar.gz rockbox-ecaa40166000e3d6b49542d42804127c0a6079e2.zip |
Add Serial Port 1 support for iPod Photo/Color/4G/Mini2G
Based on FS#9920 by Ryan Press with changes to selection logic so
that it works on my iPod Photo. Should also work on iPod Color/4G
and Mini2G. Moved all target specific code from
firmware/drivers/serial.c into new file
firmware/target/arm/pp/uart-pp.c in the same manner as other
target specific uart code.
Update to fix build error on ipodmini2g by adding defines in config file.
Removed unwanted whitespace
Tested on iPod Photo.
Change-Id: Ia5539563966198e06372d70b5adf2ef78882f863
Reviewed-on: http://gerrit.rockbox.org/455
Reviewed-by: andypotter <liveboxandy@gmail.com>
Tested-by: andypotter <liveboxandy@gmail.com>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r-- | firmware/SOURCES | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index e6c0b967d4..9c45808b66 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -595,10 +595,16 @@ target/arm/pp/wmcodec-pp.c | |||
595 | target/arm/pp/system-pp5002.c | 595 | target/arm/pp/system-pp5002.c |
596 | target/arm/pp/usb-fw-pp5002.c | 596 | target/arm/pp/usb-fw-pp5002.c |
597 | target/arm/pp/ata-pp5002.c | 597 | target/arm/pp/ata-pp5002.c |
598 | # ifdef HAVE_SERIAL | ||
599 | target/arm/pp/uart-pp.c | ||
600 | # endif /* HAVE_SERIAL */ | ||
598 | #elif defined CPU_PP502x | 601 | #elif defined CPU_PP502x |
599 | target/arm/pp/usb-fw-pp502x.c | 602 | target/arm/pp/usb-fw-pp502x.c |
600 | target/arm/pp/system-pp502x.c | 603 | target/arm/pp/system-pp502x.c |
601 | #endif | 604 | # ifdef HAVE_SERIAL |
605 | target/arm/pp/uart-pp.c | ||
606 | # endif /* HAVE_SERIAL */ | ||
607 | #endif /* (CONFIG_CPU==PP5002) || CPU_PP502x */ | ||
602 | #ifdef BOOTLOADER | 608 | #ifdef BOOTLOADER |
603 | #ifdef HAVE_BOOTLOADER_USB_MODE | 609 | #ifdef HAVE_BOOTLOADER_USB_MODE |
604 | target/arm/pp/crt0-pp502x-bl-usb.S | 610 | target/arm/pp/crt0-pp502x-bl-usb.S |