From: Alexander Holler Date: Mon, 29 Mar 2010 21:39:42 +0200 Subject: [U-Boot] [PATCH 0/2] at91sam9x: driver to use the internal RTT as RTC Message-ID: <1269891584-9266-1-git-send-email-holler@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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