summaryrefslogtreecommitdiff
path: root/firmware/target/arm/olympus
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-09-22 14:21:07 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-09-22 14:21:07 +0000
commitd331d00a2d18654ff5ea493adb194fc4a8aa5976 (patch)
tree1a83be2570035f6fc926433a487a2522223998c0 /firmware/target/arm/olympus
parent376169ab957b38902f58e4e531c4600f79bd4424 (diff)
start of the tsc2100 driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14816 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus')
-rw-r--r--firmware/target/arm/olympus/mrobe-500/spi-mr500.c6
-rw-r--r--firmware/target/arm/olympus/mrobe-500/spi-target.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/olympus/mrobe-500/spi-mr500.c b/firmware/target/arm/olympus/mrobe-500/spi-mr500.c
index 6c0d4b5990..8aeecd97f2 100644
--- a/firmware/target/arm/olympus/mrobe-500/spi-mr500.c
+++ b/firmware/target/arm/olympus/mrobe-500/spi-mr500.c
@@ -31,8 +31,8 @@
#define clr_gio_enable() outw(GIO_TS_ENABLE, IO_GIO_BITSET1)
#define set_gio_enable() outw(GIO_TS_ENABLE, IO_GIO_BITCLR1)
-int dm320_spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
- uint8_t *rx_bytes, unsigned int rx_size)
+int spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
+ uint8_t *rx_bytes, unsigned int rx_size)
{
/* Activate the slave select pin */
set_gio_enable();
@@ -63,7 +63,7 @@ int dm320_spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
return 0;
}
-void dm320_spi_init(void)
+void spi_init(void)
{
/* Set SCLK idle level = 0 */
IO_SERIAL0_MODE |= (1<<10);
diff --git a/firmware/target/arm/olympus/mrobe-500/spi-target.h b/firmware/target/arm/olympus/mrobe-500/spi-target.h
index ebaacb45a0..29aff47903 100644
--- a/firmware/target/arm/olympus/mrobe-500/spi-target.h
+++ b/firmware/target/arm/olympus/mrobe-500/spi-target.h
@@ -22,8 +22,8 @@
#include <inttypes.h>
-void dm320_spi_init(void);
-int dm320_spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
- uint8_t *rx_bytes, unsigned int rx_size);
+void spi_init(void);
+int spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
+ uint8_t *rx_bytes, unsigned int rx_size);
#endif