
Hi Stephen,
On Thu, Jan 12, 2012 at 11:48 AM, Stephen Warren swarren@nvidia.com wrote:
Simon Glass wrote at Thursday, January 12, 2012 12:36 PM:
On Mon, Jan 9, 2012 at 3:24 PM, Stephen Warren swarren@nvidia.com wrote:
On 12/26/2011 12:32 PM, Simon Glass wrote:
...
I think this should read/validate/switch-on the SoC ID field too; I assume the SKU IDs can only be interpreted relative to some specific SoC ID.
Chip ID is bits 15:8 of the register APB_MISC + 0x804, and has value 0x20 for Tegra20, 0x30 for Tegra30.
My TRM doesn't mention those values. What version are you referring to? I have v06.
In both v06 and v01p (the public version), the register is in section 11.1.6.8. I guess that doesn't actually define the values of the fields, sigh. But, I can say that Tegra20 is 0x20 and Tegra30 is 0x30.
For example, see:
http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;f=arch/arm/mach-te...
function void tegra_get_tegraid_from_hw, and:
http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;f=arch/arm/mach-te...
for definitions of TEGRA_CHIPID_*.
OK, I will put this in as you say with a suitable comment.
Regards, Simon
-- nvpublic