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.zip rockbox-e25c1c6e43aafbbe6de077f142776da2e00c75cd.tar.gz rockbox-e25c1c6e43aafbbe6de077f142776da2e00c75cd.tar.bz2 rockbox-e25c1c6e43aafbbe6de077f142776da2e00c75cd.tar.xz | |
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 0000000..a740ae0 --- /dev/null +++ b/firmware/export/si4700.h @@ -0,0 +1,36 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * + * $Id$ + * + * Tuner header for the Silicon Labs SI4700 + * + * Copyright (C) 2008 Dave Chapman + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef _SI4700_H_ +#define _SI4700_H_ + +int si4700_set(int setting, int value); +int si4700_get(int setting); + +#ifndef CONFIG_TUNER_MULTI +#define tuner_set si4700_set +#define tuner_get si4700_get +#endif + +#endif /* _SI4700_H_ */ diff --git a/firmware/export/tuner.h b/firmware/export/tuner.h index a081472..8f1839a 100644 --- a/firmware/export/tuner.h +++ b/firmware/export/tuner.h @@ -102,6 +102,11 @@ extern int (*tuner_get)(int setting); #include "tea5767.h" #endif +/* Silicon Labs 4700 */ +#if (CONFIG_TUNER & SI4700) +#include "si4700.h" +#endif + #endif /* SIMULATOR */ /* Additional messages that get enumerated after tuner driver headers */ diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 4275fa9..00517b2 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h @@ -64,6 +64,7 @@ enum { #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ (CONFIG_KEYPAD == SANSA_C200_PAD) || \ (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ + (CONFIG_KEYPAD == SANSA_FUZE_PAD) || \ (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) #define USBPOWER_BUTTON BUTTON_SELECT #define USBPOWER_BTN_IGNORE BUTTON_POWER |