summaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-12 15:11:57 +0000
committerwdenk <wdenk>2004-02-12 15:11:57 +0000
commit198ea9e294e38cea49f9f2d9b911bdfdd20e48dc (patch)
tree235c9eea90e1ee176000e15dcf973ba4c0d41e28 /rtc
parentb2daeb8e0ff2d753b7d171052fa0bd26ea7e8eca (diff)
downloadu-boot-imx-198ea9e294e38cea49f9f2d9b911bdfdd20e48dc.zip
u-boot-imx-198ea9e294e38cea49f9f2d9b911bdfdd20e48dc.tar.gz
u-boot-imx-198ea9e294e38cea49f9f2d9b911bdfdd20e48dc.tar.bz2
Last minute fixes / cleanup.
Diffstat (limited to 'rtc')
-rw-r--r--rtc/ds1306.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/ds1306.c b/rtc/ds1306.c
index e669461..4d1115e 100644
--- a/rtc/ds1306.c
+++ b/rtc/ds1306.c
@@ -71,12 +71,12 @@ extern int spi_chipsel_cnt;
static unsigned int bin2bcd (unsigned int n);
static unsigned char bcd2bin (unsigned char c);
-static unsigned char rtc_read (unsigned char reg);
-static void rtc_write (unsigned char reg, unsigned char val);
/* ************************************************************************* */
#ifdef CONFIG_SXNI855T /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
+static unsigned char rtc_read (unsigned char reg);
+static void rtc_write (unsigned char reg, unsigned char val);
static void soft_spi_send (unsigned char n);
static unsigned char soft_spi_read (void);
static void init_spi (void);