[U-Boot] [PATCH v5] ARM: mx31: Print the silicon version

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Apr 14 13:14:27 CEST 2011


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 at 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.


More information about the U-Boot mailing list