[PATCH v2 2/3] ep93xx: added chip revision reading function
Martin Guy
martinwguy at gmail.com
Sat Mar 20 14:40:48 EDT 2010
On 3/20/10, Daniel Mack <daniel at caiaq.de> wrote:
> On Sat, Mar 20, 2010 at 06:07:50PM +0000, Martin Guy wrote:
> > The chip revision is normally placed in the global unsigned int
> > "system_rev", which is also reported by /proc/cpuinfo.
>
> No, that's the hardware revision number, which is different from the
> chip revision number.
The board revision? Right, thanks. I don't see a place to report this
in cpuinfo, since it is the SoC revision, which is neither the ARM CPU
it contains nor the board that conatins the SoC.
> If the ep93xx provides a unique serial number, then this could be an
> idea. I would still only set it in case it has not been given by the
> bootloader though.
It does, world-unique, burned into the chip. Thanks again.
M
More information about the linux-arm-kernel
mailing list