arm: tegra: fuse: add function to get chipid
authorLuke Huang <lhuang@nvidia.com>
Fri, 20 May 2011 21:20:42 +0000 (14:20 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 06:26:08 +0000 (23:26 -0700)
commit658f21c0b29de2c54823b1ee07d536b805d2e8b0
treec4657aa6a29a2ae3337365d53b345dc179c335db
parent3ea4a2924ebe4a8516c42d836678ee159fd2df63
arm: tegra: fuse: add function to get chipid

1. Add the function to return chipid.
2. Remove the if-def for A01 for tegra2 and add kernel panic if tegra2-A01 is
detected.
3. Clean up errors/warnings reported by checkpatch.pl.

Original-Change-Id: I0aa4ed2c4fd77e8e5ae83feceee94372b1506446
Reviewed-on: http://git-master/r/32450
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R7e4adad9e8127d725ebae51bc308ace382bebc3e
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/fuse.h