public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hebbar <gururajakr@sanyo.co.in>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTC Support
Date: Thu, 31 Jul 2008 20:15:12 -0700 (PDT)	[thread overview]
Message-ID: <18767539.post@talk.nabble.com> (raw)
In-Reply-To: <5BF78BCE8D9BF14A83F836BD9E3916BA23C1F0@blrms.slti.sanyo.co.in>


Hi,

>Why do we need the #ifdef's here? It seems this is a board specific
>configuration anyway, i. e. we don't expect for example other RTC chips
>to be used on this board, or do we?

Also I Just Checked u-boot-1.3.3/board/bc3450/bc3450.c. Even here it has 
a declaration for RTC @ line 47

#ifdef CONFIG_RTC_MPC5200
#include <rtc.h>
#endif

@ line 371

#ifdef CONFIG_RTC_MPC5200
	struct rtc_time t;

	/* set to Wed Dec 31 19:00:00 1969 */
	t.tm_sec = t.tm_min = 0;
	t.tm_hour = 19;
	t.tm_mday = 31;
	t.tm_mon = 12;
	t.tm_year = 1969;
	t.tm_wday = 3;

	rtc_set(&t);
#endif /* CONFIG_RTC_MPC5200 */


So i think its correct. Please Update me if i am wrong


Regards
Gururaja

-- 
View this message in context: http://www.nabble.com/-PATCH--%28Resubmit%29-ADD-ARM-AMBA-PL031-RTC-Support-tp18499969p18767539.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2008-08-01  3:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17  1:53 [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTC Support Gururaja Hebbar K R
2008-07-17 21:39 ` Jean-Christophe PLAGNIOL-VILLARD
2008-07-18  0:23   ` [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTCSupport Gururaja Hebbar K R
     [not found]     ` <000001c8e8dc$e0a8b0e0$3a4d010a@Emea.Arm.com>
2008-07-21  8:04       ` Gururaja Hebbar K R
2008-07-21 20:19         ` Jean-Christophe PLAGNIOL-VILLARD
2008-07-22  1:54           ` [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTC Support Gururaja Hebbar K R
2008-07-22  5:21             ` Hebbar
2008-07-22  6:21               ` Wolfgang Denk
2008-07-22  6:53                 ` Hebbar
2008-07-29 20:54                   ` Wolfgang Denk
2008-08-01  0:42                     ` Gururaja Hebbar K R
2008-08-01  3:15                       ` Hebbar [this message]
2008-07-21  6:31   ` [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTCSupport Gururaja Hebbar K R
2008-07-21 20:26     ` [U-Boot-Users] *** PROBABLY SPAM *** " Jean-Christophe PLAGNIOL-VILLARD
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01  4:52 [U-Boot-Users] [PATCH] (Resubmit) ADD ARM AMBA PL031 RTC Support Gururaja Hebbar K R
2008-08-04  1:06 Gururaja Hebbar K R

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=18767539.post@talk.nabble.com \
    --to=gururajakr@sanyo.co.in \
    --cc=u-boot@lists.denx.de \
    /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