soc/tegra: fuse: Add spare bit offset for Tegra124
authorThierry Reding <treding@nvidia.com>
Mon, 4 May 2015 14:44:29 +0000 (16:44 +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 Tegra124 is 0x300, 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 1fb64f842e41a4cc0062393db5480ad2db1fb0c3..04e799e33ae3ee946e34cdfc12ef9b0c401f0d71 100644 (file)
@@ -135,6 +135,7 @@ const struct tegra_fuse_soc tegra114_fuse_soc = {
 static const struct tegra_fuse_info tegra124_fuse_info = {
        .read = tegra30_fuse_read,
        .size = 0x300,
+       .spare = 0x200,
 };
 
 const struct tegra_fuse_soc tegra124_fuse_soc = {