summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh/archos/mascodec-archos.c
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-11-22 19:59:31 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-11-22 19:59:31 +0000
commit9c07d068da6d52323af3ea161cc73ea2402feb79 (patch)
tree0de7361d06babd99824649796bd9bf1d0b3ed161 /firmware/target/sh/archos/mascodec-archos.c
parent5f7d612f17c56f954754294f69daf0e1c88ffa9a (diff)
downloadrockbox-9c07d068da6d52323af3ea161cc73ea2402feb79.tar.gz
rockbox-9c07d068da6d52323af3ea161cc73ea2402feb79.tar.bz2
rockbox-9c07d068da6d52323af3ea161cc73ea2402feb79.zip
FS#12378 : Removal of Archos HWCODEC unused code and data. Several large hardware-specific functions are kept for reference or future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31043 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh/archos/mascodec-archos.c')
-rw-r--r--firmware/target/sh/archos/mascodec-archos.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/sh/archos/mascodec-archos.c b/firmware/target/sh/archos/mascodec-archos.c
index 1eb6e1044d..faa5c7ef2b 100644
--- a/firmware/target/sh/archos/mascodec-archos.c
+++ b/firmware/target/sh/archos/mascodec-archos.c
@@ -30,6 +30,7 @@
static int mas_devread(unsigned long *dest, int len);
+#if 0 /* Currently unused, left for reference and future use */
int mas_default_read(unsigned short *buf)
{
unsigned char *dest = (unsigned char *)buf;
@@ -62,7 +63,9 @@ int mas_default_read(unsigned short *buf)
i2c_end();
return ret;
}
+#endif
+#if CONFIG_CODEC == MAS3507D
int mas_run(unsigned short address)
{
int ret = 0;
@@ -83,6 +86,7 @@ int mas_run(unsigned short address)
i2c_end();
return ret;
}
+#endif
/* note: 'len' is number of 32-bit words, not number of bytes! */
int mas_readmem(int bank, int addr, unsigned long* dest, int len)
@@ -307,6 +311,7 @@ void mas_reset(void)
}
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
+#if 0 /* Currently unused, left for reference and future use */
int mas_direct_config_read(unsigned char reg)
{
int ret = 0;
@@ -340,6 +345,7 @@ int mas_direct_config_read(unsigned char reg)
i2c_end();
return ret;
}
+#endif
int mas_direct_config_write(unsigned char reg, unsigned int val)
{