]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
soc/tegra: fuse: Add spare bit offset for Tegra210
authorThierry Reding <treding@nvidia.com>
Mon, 4 May 2015 14:45:25 +0000 (16:45 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Jul 2015 08:38:31 +0000 (10:38 +0200)
The offset of the first spare bit register on Tegra210 is 0x380, but
account for the fixed offset of 0x100 in the fuse accessor.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/fuse-tegra30.c

index 04e799e33ae3ee946e34cdfc12ef9b0c401f0d71..882607bcaa6c1e667fa603bea322c9d1d62a5e72 100644 (file)
@@ -149,6 +149,7 @@ const struct tegra_fuse_soc tegra124_fuse_soc = {
 static const struct tegra_fuse_info tegra210_fuse_info = {
        .read = tegra30_fuse_read,
        .size = 0x300,
+       .spare = 0x280,
 };
 
 const struct tegra_fuse_soc tegra210_fuse_soc = {