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 1/3] mx25: add CPU revision 1.2
Date: Sun, 23 Sep 2012 17:59:04 +0200	[thread overview]
Message-ID: <505F31C8.9030401@denx.de> (raw)
In-Reply-To: <1348347039-26521-1-git-send-email-eric@eukrea.com>

On 22/09/2012 22:50, Eric B?nard wrote:
> tested on a MCIMX257CJM4A which now reports :
> CPU:   Freescale i.MX25 rev1.2 at 399 MHz
> 
> Signed-off-by: Eric B?nard <eric@eukrea.com>
> ---
>  arch/arm/cpu/arm926ejs/mx25/generic.c     |    3 +++
>  arch/arm/include/asm/arch-mx25/imx-regs.h |    1 +
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c
> index 8b07dae..cb74b82 100644
> --- a/arch/arm/cpu/arm926ejs/mx25/generic.c
> +++ b/arch/arm/cpu/arm926ejs/mx25/generic.c
> @@ -140,6 +140,9 @@ u32 get_cpu_rev(void)
>  	case 0x01:
>  		system_rev |= CHIP_REV_1_1;
>  		break;
> +	case 0x02:
> +		system_rev |= CHIP_REV_1_2;
> +		break;
>  	default:
>  		system_rev |= 0x8000;
>  		break;
> diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h
> index cf925d7..35a2fb6 100644
> --- a/arch/arm/include/asm/arch-mx25/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx25/imx-regs.h
> @@ -355,5 +355,6 @@ struct aips_regs {
>  
>  #define CHIP_REV_1_0		0x10
>  #define CHIP_REV_1_1		0x11
> +#define CHIP_REV_1_2		0x12
>  
>  #endif				/* _IMX_REGS_H */
> 

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

Best regards,
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-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

      parent reply	other threads:[~2012-09-23 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 20:50 [U-Boot] [PATCH 1/3] mx25: add CPU revision 1.2 Eric Bénard
2012-09-22 20:50 ` [U-Boot] [PATCH 2/3] mx25: fix compilation when CONFIG_FSL_ESDHC is enabled Eric Bénard
2012-09-22 21:14   ` Otavio Salvador
2012-09-22 21:24     ` Benoît Thébaudeau
2012-09-22 20:50 ` [U-Boot] [PATCH 3/3] add Eukrea's CPUIMX25 Eric Bénard
2012-09-22 21:18   ` Otavio Salvador
2012-09-22 21:52     ` Eric Bénard
2012-09-22 22:04     ` Eric Bénard
2012-09-22 21:12 ` [U-Boot] [PATCH 1/3] mx25: add CPU revision 1.2 Otavio Salvador
2012-09-23 15:59 ` Stefano Babic [this message]

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=505F31C8.9030401@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