Re: [RFC PATCH v3 2/2] ARM: OMAP4: setup SoC model name during IDinitialisation

From: Russell King - ARM Linux
Date: Wed Jan 30 2013 - 10:58:17 EST


On Wed, Jan 30, 2013 at 05:01:31PM +0200, Ruslan Bilovol wrote:
> Set up the SoC model name during OMAP ID initialisation
> so it will be displayed in /proc/cpuinfo:
>
> / # cat proc/cpuinfo
> [...]
> CPU variant : 0x2
> CPU part : 0xc09
> CPU revision : 10
>
> SoC name : OMAP4470

Hmm. Still not happy. Wasn't there some SoC infrastructure added to the
kernel to export this kind of information via sysfs? See:

Documentation/ABI/testing/sysfs-devices-soc
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/