public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version
Date: Thu, 14 Apr 2011 13:14:27 +0200	[thread overview]
Message-ID: <4DA6D713.2050708@aribaud.net> (raw)
In-Reply-To: <1302574692-28134-1-git-send-email-festevam@gmail.com>

Le 12/04/2011 04:18, Fabio Estevam a ?crit :
> Use the same method of the Linux kernel to print the MX31 silicon version on
> boot.
>
> Tested on a MX31PDK with a 2.0 silicon, where it shows:
>
> CPU:   Freescale i.MX31 rev 2.0 at 531 MHz
>
> Signed-off-by: Fabio Estevam<fabio.estevam@freescale.com>
>
> ---
> Changes since v4:
> - Get rid of imx_soc_revision.h and its macro
> Changes since v3:
> - Keep consistency with other i.MX processors and print the silicon version
> in the same line as the CPU name
> - Remove unneeded blank line in imx_soc_revision.h
> Changes since v2:
> - Use macro instead of defines for IMX_CHIP_REVISION
> Changes since v1:
> - rename the CPU detect function name to get_cpu_rev
> - Use struct to access iim register
>   arch/arm/cpu/arm1136/mx31/generic.c       |   30 +++++++++++++++++++++++++++-
>   arch/arm/include/asm/arch-mx31/imx-regs.h |   25 ++++++++++++++++++++++++
>   2 files changed, 53 insertions(+), 2 deletions(-)

Seems this is ok.

Stefano, will you take this patch in and send a pull request, or do you 
want me to pick it?

Amicalement,
-- 
Albert.

  reply	other threads:[~2011-04-14 11:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12  2:18 [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version Fabio Estevam
2011-04-14 11:14 ` Albert ARIBAUD [this message]
2011-04-14 20:53   ` stefano babic
2011-04-15 18:07 ` Stefano Babic
2011-04-21 16:01   ` Stefano Babic
2011-04-27  9:11     ` Detlev Zundel
2011-04-27  9:40       ` Stefano Babic
2011-04-27 13:16         ` Fabio Estevam
2011-04-27 14:00           ` Stefano Babic
2011-04-27 14:57         ` Detlev Zundel
2011-04-27 16:01           ` 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=4DA6D713.2050708@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --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