From: "Joachim Denil" <joachim.denil@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: board without RTC
Date: Sat, 13 May 2006 15:10:45 +0200 [thread overview]
Message-ID: <d7b8e9f80605130610v7e0fa0ffx64641c63c4487dfe@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
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 <http://lxr.linux.no/ident?a=ppc;i=time_init>)(void);
int (*set_rtc_time <http://lxr.linux.no/ident?a=ppc;i=set_rtc_time>)(unsigned
long nowtime);
unsigned long (*get_rtc_time<http://lxr.linux.no/ident?a=ppc;i=get_rtc_time>
)(void);
unsigned char (*rtc_read_val)(int addr<http://lxr.linux.no/ident?a=ppc;i=addr>
);
void (*rtc_write_val)(int addr <http://lxr.linux.no/ident?a=ppc;i=addr>,
unsigned char val <http://lxr.linux.no/ident?a=ppc;i=val>);
void (*calibrate_decr)(void);
[-- Attachment #2: Type: text/html, Size: 1137 bytes --]
next reply other threads:[~2006-05-13 13:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-13 13:10 Joachim Denil [this message]
2006-05-13 23:22 ` board without RTC Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d7b8e9f80605130610v7e0fa0ffx64641c63c4487dfe@mail.gmail.com \
--to=joachim.denil@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox