summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-10-01 05:27:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-10-01 05:27:43 +0000
commit03f45d3affcee6d8ffb58f1cc6f414284ed418b4 (patch)
tree99ebe8a4ef8e86de4770ebe83a65a3b6156db82f /firmware/export
parentea47ee64f02030c64e0472939ea3c588ce7e8dab (diff)
spi is shared between the rtc and tsc2100
adds the very begining of the rtc driver (only reads the time currently git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-mrobe500.h2
-rw-r--r--firmware/export/config.h1
-rw-r--r--firmware/export/spi.h5
3 files changed, 3 insertions, 5 deletions
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 7bb7fc57ef..a965881bbd 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -62,7 +62,7 @@
#define CONFIG_CODEC SWCODEC
/* define this if you have a real-time clock */
-//#define CONFIG_RTC RTC_S3C2440
+#define CONFIG_RTC RTC_RX5X348AB
/* Define this for LCD backlight available */
#define HAVE_BACKLIGHT
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 9bf589a459..7c55ee88a3 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -140,6 +140,7 @@
#define RTC_AS3514 6 /* Sandisk Sansa e200 series */
#define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */
#define RTC_IMX31L 8
+#define RTC_RX5X348AB 9
/* USB On-the-go */
#define USBOTG_ISP1362 1362 /* iriver H300 */
diff --git a/firmware/export/spi.h b/firmware/export/spi.h
index aafc367855..1de12abefb 100644
--- a/firmware/export/spi.h
+++ b/firmware/export/spi.h
@@ -18,9 +18,6 @@
****************************************************************************/
#ifndef __SPI_H__
#define __SPI_H__
-
-int spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
- uint8_t *rx_bytes, unsigned int rx_size);
-void spi_init(void);
+#include "spi-target.h"
#endif