diff options
author | Dave Chapman <dave@dchapman.com> | 2008-11-11 14:46:13 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-11-11 14:46:13 +0000 |
commit | e25c1c6e43aafbbe6de077f142776da2e00c75cd (patch) | |
tree | 3d86e41239ae55e2e19cb4f5f7c27fec03d294fd /firmware/export | |
parent | 5c7d9f10150df77ad4ddc92fb3b2943225d0ed39 (diff) | |
download | rockbox-e25c1c6e43aafbbe6de077f142776da2e00c75cd.tar.gz rockbox-e25c1c6e43aafbbe6de077f142776da2e00c75cd.zip |
Add more driver stubs to make the Fuze and e200v2 main builds compile; Correct the memory definition for the Fuze (8MB)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19090 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/si4700.h | 36 | ||||
-rw-r--r-- | firmware/export/tuner.h | 5 | ||||
-rw-r--r-- | firmware/export/usb.h | 1 |
3 files changed, 42 insertions, 0 deletions
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h new file mode 100644 index 0000000000..a740ae03ab --- /dev/null +++ b/firmware/export/si4700.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * $Id$ | ||
10 | * | ||
11 | * Tuner header for the Silicon Labs SI4700 | ||
12 | * | ||
13 | * Copyright (C) 2008 Dave Chapman | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or | ||
16 | * modify it under the terms of the GNU General Public License | ||
17 | * as published by the Free Software Foundation; either version 2 | ||
18 | * of the License, or (at your option) any later version. | ||
19 | * | ||
20 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
21 | * KIND, either express or implied. | ||
22 | * | ||
23 | ****************************************************************************/ | ||
24 | |||
25 | #ifndef _SI4700_H_ | ||
26 | #define _SI4700_H_ | ||
27 | |||
28 | int si4700_set(int setting, int value); | ||
29 | int si4700_get(int setting); | ||
30 | |||
31 | #ifndef CONFIG_TUNER_MULTI | ||
32 | #define tuner_set si4700_set | ||
33 | #define tuner_get si4700_get | ||
34 | #endif | ||
35 | |||
36 | #endif /* _SI4700_H_ */ | ||
diff --git a/firmware/export/tuner.h b/firmware/export/tuner.h index a081472fa1..8f1839a7bb 100644 --- a/firmware/export/tuner.h +++ b/firmware/export/tuner.h | |||
@@ -102,6 +102,11 @@ extern int (*tuner_get)(int setting); | |||
102 | #include "tea5767.h" | 102 | #include "tea5767.h" |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | /* Silicon Labs 4700 */ | ||
106 | #if (CONFIG_TUNER & SI4700) | ||
107 | #include "si4700.h" | ||
108 | #endif | ||
109 | |||
105 | #endif /* SIMULATOR */ | 110 | #endif /* SIMULATOR */ |
106 | 111 | ||
107 | /* Additional messages that get enumerated after tuner driver headers */ | 112 | /* Additional messages that get enumerated after tuner driver headers */ |
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 4275fa9c6a..00517b2475 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -64,6 +64,7 @@ enum { | |||
64 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ | 64 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ |
65 | (CONFIG_KEYPAD == SANSA_C200_PAD) || \ | 65 | (CONFIG_KEYPAD == SANSA_C200_PAD) || \ |
66 | (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ | 66 | (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ |
67 | (CONFIG_KEYPAD == SANSA_FUZE_PAD) || \ | ||
67 | (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | 68 | (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) |
68 | #define USBPOWER_BUTTON BUTTON_SELECT | 69 | #define USBPOWER_BUTTON BUTTON_SELECT |
69 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | 70 | #define USBPOWER_BTN_IGNORE BUTTON_POWER |