mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Christian Hemp <c.hemp@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] imx6: add new chip revisions
Date: Mon, 30 Jun 2014 08:14:50 +0200	[thread overview]
Message-ID: <20140630061450.GB14257@pengutronix.de> (raw)
In-Reply-To: <1404108721-25689-1-git-send-email-c.hemp@phytec.de>

On Mon, Jun 30, 2014 at 08:12:01AM +0200, Christian Hemp wrote:
> Add new chip revisions for the new tap-out TO1.5 (i.MX6Q/D) and TO1.2
> (i.MX6DL/S)
> 
> Signed-off-by: Christian Hemp <c.hemp@phytec.de>

Applied, thanks

Sascha

> ---
>  arch/arm/mach-imx/imx6.c                  |   12 ++++++++++++
>  arch/arm/mach-imx/include/mach/revision.h |    2 ++
>  2 files changed, 14 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/imx6.c b/arch/arm/mach-imx/imx6.c
> index e14ce90..fabc161 100644
> --- a/arch/arm/mach-imx/imx6.c
> +++ b/arch/arm/mach-imx/imx6.c
> @@ -130,6 +130,18 @@ int imx6_init(void)
>  		mx6_silicon_revision = IMX_CHIP_REV_1_2;
>  		break;
>  
> +	case 0x03:
> +		mx6_silicon_revision = IMX_CHIP_REV_1_3;
> +		break;
> +
> +	case 0x04:
> +		mx6_silicon_revision = IMX_CHIP_REV_1_4;
> +		break;
> +
> +	case 0x05:
> +		mx6_silicon_revision = IMX_CHIP_REV_1_5;
> +		break;
> +
>  	default:
>  		mx6_silicon_revision = IMX_CHIP_REV_UNKNOWN;
>  	}
> diff --git a/arch/arm/mach-imx/include/mach/revision.h b/arch/arm/mach-imx/include/mach/revision.h
> index bc6f20a..908a0a1 100644
> --- a/arch/arm/mach-imx/include/mach/revision.h
> +++ b/arch/arm/mach-imx/include/mach/revision.h
> @@ -6,6 +6,8 @@
>  #define IMX_CHIP_REV_1_1	0x11
>  #define IMX_CHIP_REV_1_2	0x12
>  #define IMX_CHIP_REV_1_3	0x13
> +#define IMX_CHIP_REV_1_4	0x14
> +#define IMX_CHIP_REV_1_5	0x15
>  #define IMX_CHIP_REV_2_0	0x20
>  #define IMX_CHIP_REV_2_1	0x21
>  #define IMX_CHIP_REV_2_2	0x22
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-06-30  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30  6:12 Christian Hemp
2014-06-30  6:14 ` Sascha Hauer [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=20140630061450.GB14257@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=c.hemp@phytec.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