public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] mx51evk: Add RTC support
Date: Tue, 25 Oct 2011 10:04:16 +0200	[thread overview]
Message-ID: <4EA66D80.2030406@denx.de> (raw)
In-Reply-To: <1319474257-11851-2-git-send-email-fabio.estevam@freescale.com>

On 10/24/2011 06:37 PM, Fabio Estevam wrote:
> MX51EVK has a MC13892 PMIC. Add RTC support.
> 
> Tested via 'date' command that reads the PMIC RTC registers:
> 
> MX51EVK U-Boot > date                                                           
> Date: 1970-01-01 (Thursday)    Time:  0:40:35                                   
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx51evk.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
> index 2c449b8..67b5f0b 100644
> --- a/include/configs/mx51evk.h
> +++ b/include/configs/mx51evk.h
> @@ -79,6 +79,7 @@
>  #define CONFIG_FSL_PMIC_CLK	2500000
>  #define CONFIG_FSL_PMIC_MODE	(SPI_MODE_0 | SPI_CS_HIGH)
>  #define CONFIG_FSL_PMIC_BITLEN	32
> +#define CONFIG_RTC_MC13XXX
>  
>  /*
>   * MMC Configs
> @@ -124,6 +125,8 @@
>  
>  #undef CONFIG_CMD_IMLS
>  
> +#define CONFIG_CMD_DATE
> +
>  #define CONFIG_BOOTDELAY	3
>  
>  #define CONFIG_ETHPRIME		"FEC0"

After fixing PATCH 1/2,

Acked-by: Stefano Babic <sbabic@denx.de>

Best regrads,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-10-25  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 16:37 [U-Boot] [PATCH 1/2] rtc: Make mc13783-rtc driver generic Fabio Estevam
2011-10-24 16:37 ` [U-Boot] [PATCH 2/2] mx51evk: Add RTC support Fabio Estevam
2011-10-25  8:04   ` Stefano Babic [this message]
2011-10-25  8:03 ` [U-Boot] [PATCH 1/2] rtc: Make mc13783-rtc driver generic Stefano Babic

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=4EA66D80.2030406@denx.de \
    --to=sbabic@denx.de \
    --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