]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
soc/tegra: fuse: Add spare bit offset for Tegra114
authorThierry Reding <treding@nvidia.com>
Mon, 4 May 2015 14:38:28 +0000 (16:38 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Jul 2015 08:38:30 +0000 (10:38 +0200)
The offset of the first spare bit register on Tegra114 is 0x280, 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 1e184f5dc31b75bc3286fcb1e69bb430c44a639c..1fb64f842e41a4cc0062393db5480ad2db1fb0c3 100644 (file)
@@ -121,6 +121,7 @@ const struct tegra_fuse_soc tegra30_fuse_soc = {
 static const struct tegra_fuse_info tegra114_fuse_info = {
        .read = tegra30_fuse_read,
        .size = 0x2a0,
+       .spare = 0x180,
 };
 
 const struct tegra_fuse_soc tegra114_fuse_soc = {