diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/landisk/stand/boot/getsecs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/landisk/stand/boot/getsecs.c b/sys/arch/landisk/stand/boot/getsecs.c index b7270963823..27661b1c1f9 100644 --- a/sys/arch/landisk/stand/boot/getsecs.c +++ b/sys/arch/landisk/stand/boot/getsecs.c @@ -32,6 +32,7 @@ rtc_init(void) SHREG_SCSPTR = SCSPTR_SPB1IO | SCSPTR_SPB1DT | SCSPTR_SPB0IO | SCSPTR_SPB0DT; + delay(1); } /* control RTC chip enable */ @@ -44,6 +45,7 @@ rtc_ce(int onoff) } else { _reg_write_1(0xb0000003, (0 << 1)); } + delay(1); } static inline void @@ -55,6 +57,7 @@ rtc_clk(int onoff) } else { SHREG_SCSPTR &= ~SCSPTR_SPB0DT; } + delay(1); } static void @@ -66,6 +69,7 @@ rtc_dir(int output) } else { SHREG_SCSPTR &= ~SCSPTR_SPB1IO; } + delay(1); } /* data-out */ @@ -78,6 +82,7 @@ rtc_do(int onoff) } else { SHREG_SCSPTR &= ~SCSPTR_SPB1DT; } + delay(1); rtc_clk(0); rtc_clk(1); |