Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1394895 > unrolled thread

[PATCH] soc/tegra: fuse: enable nvidia,tegra114-efuse entry for Tegra132

Started byWei Ni <wni@nvidia.com>
First post2016-05-05 08:20 +0200
Last post2016-05-05 08:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] soc/tegra: fuse: enable nvidia,tegra114-efuse entry for Tegra132 Wei Ni <wni@nvidia.com> - 2016-05-05 08:20 +0200

#1394895 — [PATCH] soc/tegra: fuse: enable nvidia,tegra114-efuse entry for Tegra132

FromWei Ni <wni@nvidia.com>
Date2016-05-05 08:20 +0200
Subject[PATCH] soc/tegra: fuse: enable nvidia,tegra114-efuse entry for Tegra132
Message-ID<rvkNH-2J0-3@gated-at.bofh.it>
In the Tegra132 DTS file, the compatible of fuse node was
set as "nvidia,tegra124-efuse", because the fuse in Tegra132
is same as Tegra124, they are compatible.
But the fuse driver only defined this entry under the
CONFIG_ARCH_TEGRA_124_SOC, so the Tegra132 builds can't find
this entry.
Define this entry under
"CONFIG_ARCH_TEGRA_124_SOC || CONFIG_ARCH_TEGRA_132_SOC"
to fix this problem.

Signed-off-by: Wei Ni <wni@nvidia.com>
---
 drivers/soc/tegra/fuse/fuse-tegra.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
index de2c1bfe28b5..1b0a1e13577e 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
@@ -104,10 +104,8 @@ static const struct of_device_id tegra_fuse_match[] = {
 #ifdef CONFIG_ARCH_TEGRA_210_SOC
 	{ .compatible = "nvidia,tegra210-efuse", .data = &tegra210_fuse_soc },
 #endif
-#ifdef CONFIG_ARCH_TEGRA_132_SOC
+#if defined CONFIG_ARCH_TEGRA_124_SOC || defined CONFIG_ARCH_TEGRA_132_SOC
 	{ .compatible = "nvidia,tegra132-efuse", .data = &tegra124_fuse_soc },
-#endif
-#ifdef CONFIG_ARCH_TEGRA_124_SOC
 	{ .compatible = "nvidia,tegra124-efuse", .data = &tegra124_fuse_soc },
 #endif
 #ifdef CONFIG_ARCH_TEGRA_114_SOC
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web