[U-Boot] [PATCH 1/2] nitrogen6x: Pass the correct CPU revision to the kernel
Wolfgang Denk
wd at denx.de
Sat Mar 16 21:29:14 CET 2013
Dear Fabio Estevam,
In message <CAOMZO5C0Wi8qf82KDspM0=ZyMn8DBh3b215e-PmWJjDu7=sMUQ at mail.gmail.com> you wrote:
>
> Would this approach work?
>
> http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/common/fsl_sys_rev.c?h=imx_v2009.08_3.0.0
I bet there is a to of existing ways to encode and pass such
information - in NOR flash, EEPROM, encoded in the serial number
and/or MAC addresses, whatever. I would expect that each major board
vendor has his preferred style, and I don't see how this could be
changed.
Also, pleas ekeep inmind that there are two sides of the issue:
- storage device and format for the related information
- method and for mat of passing this on to the kernel
The Subject: addresses only the second part of this. And as mentioned
before, there is a standardized method of passing such infoirmation to
the kernel - through the device tree.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always leave room to add an explanation if it doesn't work out.
More information about the U-Boot
mailing list