From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ozlabs.org (Postfix) with ESMTP id C926E679E9 for ; Sat, 13 May 2006 23:17:23 +1000 (EST) Received: by ug-out-1314.google.com with SMTP id e2so475482ugf for ; Sat, 13 May 2006 06:17:21 -0700 (PDT) Message-ID: Date: Sat, 13 May 2006 15:10:45 +0200 From: "Joachim Denil" To: linuxppc-embedded@ozlabs.org Subject: board without RTC MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34177_13288435.1147525845092" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_34177_13288435.1147525845092 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, Can someone tell me what the following functions should do in case there is no RTC on the hardware board. My processor is a 405gpr. Which of these i must implement. (maybe some code snippets...). I think the most important one is calibrate_decr for it is necesary to calibrate_delay function. Thanks... Joachim Denil Student long (*time_init )(void); int (*set_rtc_time )(un= signed long nowtime); unsigned long (*get_rtc_time )(void); unsigned char (*rtc_read_val)(int addr ); void (*rtc_write_val)(int addr = , unsigned char val ); void (*calibrate_decr)(void); ------=_Part_34177_13288435.1147525845092 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hello,
 
Can someone tell me what the following functions should do in case the= re is no RTC on the hardware board. My processor is a 405gpr. Which of thes= e i must implement. (maybe some code snippets...). I think the most importa= nt one is calibrate_decr for it is necesary to calibrate_delay function.
 
Thanks...
 
Joachim Denil
Student
 
 
long (*time_init)(void); 
int (*set_rtc_time)(unsigned long nowtime);
unsigned long (*get_rtc_time)= (void);
unsigned char (*rtc_read_val)(int=20 addr);
void (= *rtc_write_val)(int = addr, unsigned char val);
void (*calibrate_decr)(void);
 
------=_Part_34177_13288435.1147525845092--