diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-01-18 19:05:20 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-01-18 19:05:20 +0000 |
commit | 553626a9582a266f99134f735759e63da0a44714 (patch) | |
tree | 7b336d379e61c632ad0ff775bca2f5d37a80775d /firmware/target/arm/system-pp502x.c | |
parent | 39e51cc66e0f9d2afc82515958c1719fdac43332 (diff) | |
download | rockbox-553626a9582a266f99134f735759e63da0a44714.tar.gz rockbox-553626a9582a266f99134f735759e63da0a44714.zip |
Add initial Packard Bell Vibe 500 port, by Szymon Dziok
Author: Szymon Dziok
Flyspray: FS#10912
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index e2604e7633..926dcaca35 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -159,6 +159,16 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) | |||
159 | usb_insert_int(); | 159 | usb_insert_int(); |
160 | } | 160 | } |
161 | /* end SAMSUNG_YHxxx */ | 161 | /* end SAMSUNG_YHxxx */ |
162 | #elif defined(PBELL_VIBE500) | ||
163 | else if (CPU_HI_INT_STAT & GPIO0_MASK) { | ||
164 | if (GPIOA_INT_STAT & 0x20) | ||
165 | button_int(); | ||
166 | } | ||
167 | else if (CPU_HI_INT_STAT & GPIO2_MASK) { | ||
168 | if (GPIOL_INT_STAT & 0x04) | ||
169 | usb_insert_int(); | ||
170 | } | ||
171 | /* end PBELL_VIBE500 */ | ||
162 | #endif | 172 | #endif |
163 | #ifdef IPOD_ACCESSORY_PROTOCOL | 173 | #ifdef IPOD_ACCESSORY_PROTOCOL |
164 | else if (CPU_HI_INT_STAT & SER0_MASK) { | 174 | else if (CPU_HI_INT_STAT & SER0_MASK) { |
@@ -461,6 +471,8 @@ void system_init(void) | |||
461 | /* to be done */ | 471 | /* to be done */ |
462 | #elif defined (TATUNG_TPJ1022) | 472 | #elif defined (TATUNG_TPJ1022) |
463 | /* to be done */ | 473 | /* to be done */ |
474 | #elif defined(PBELL_VIBE500) | ||
475 | /* to be done */ | ||
464 | #endif | 476 | #endif |
465 | 477 | ||
466 | #if !defined(SANSA_E200) && !defined(SANSA_C200) && !defined(PHILIPS_SA9200) | 478 | #if !defined(SANSA_E200) && !defined(SANSA_C200) && !defined(PHILIPS_SA9200) |