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.este...@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot