public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] at91sam9x: driver to use the internal RTT as RTC
@ 2010-03-29 19:39 Alexander Holler
  2010-03-29 19:39 ` [U-Boot] [PATCH 1/2] at91: add defines for RTT and GPBR Alexander Holler
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Holler @ 2010-03-29 19:39 UTC (permalink / raw)
  To: u-boot

This driver uses the internal RTT as RTC like the linux driver.

To enable it, these defines are needed:

#define CONFIG_CMD_DATE
#define CONFIG_RTC_AT91SAM9
#define CONFIG_RTC_AT91SAM9_RTT AT91_RTT0_BASE /* for AT91SAM9263 */
#define CONFIG_RTC_AT91SAM9_RTT AT91_RTT_BASE /* AT91SAM9260 or AT91SAM9261 */
#define CONFIG_RTC_AT91SAM9_GPBR 0

Tested with an AT91SAM9263.

Regards,

Alexander Holler

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-04-11 17:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-29 19:39 [U-Boot] [PATCH 0/2] at91sam9x: driver to use the internal RTT as RTC Alexander Holler
2010-03-29 19:39 ` [U-Boot] [PATCH 1/2] at91: add defines for RTT and GPBR Alexander Holler
2010-03-29 19:39   ` [U-Boot] [PATCH 2/2] at91sam9x: driver to use the internal RTT as RTC Alexander Holler
2010-03-29 20:39     ` Alexander Holler
2010-03-30 11:17       ` [U-Boot] [PATCH 0/1] at91samm9x: fix for the rtc-driver Alexander Holler
2010-03-30 11:17         ` [U-Boot] [PATCH 1/1] at91sam9x: driver to use the internal RTT as RTC Alexander Holler
2010-04-03 18:33           ` Tom
2010-04-03 19:30             ` Alexander Holler
2010-04-05 13:19               ` Tom
2010-04-03 18:36   ` [U-Boot] [PATCH 1/2] at91: add defines for RTT and GPBR Tom
2010-04-03 20:41     ` Alexander Holler
2010-04-05 13:29       ` Tom
2010-04-11 17:23   ` Tom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox