[PATCH v2 2/6] soc/tegra: fuse: add is_automotive for tegra30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Add an is_automotive flag to the tegra-sku info, and
add an implementation for the tegra30 from what we
know from all the autotmotive parts we've seen.

Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
Signed-off-by: Kejia Hu <kejia.hu@xxxxxxxxxxxxxxx>
---
 drivers/soc/tegra/fuse/fuse-tegra30.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/soc/tegra/fuse/fuse-tegra30.c b/drivers/soc/tegra/fuse/fuse-tegra30.c
index 257e254c6137..d92025e486e0 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra30.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra30.c
@@ -106,6 +106,10 @@ static void __init tegra30_fuse_init(struct tegra_fuse *fuse)
 	if (fuse->soc->speedo_init)
 		fuse->soc->speedo_init(&tegra_sku_info);
 
+	if (tegra_sku_info.revision == TEGRA_REVISION_A03 &&
+	    tegra_sku_info.sku_id == 176)
+		tegra_sku_info.is_automotive = true;
+
 	tegra30_fuse_add_randomness();
 }
 #endif
-- 
2.11.0




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux