[PATCH v2 3/6] soc/tegra: fuse: Add is_automotive for tegra20

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

 



From: Thomas Preston <thomas.preston@xxxxxxxxxxxxxxx>

Add an is_automotive implementation for tegra20.

Signed-off-by: Thomas Preston <thomas.preston@xxxxxxxxxxxxxxx>
---
 drivers/soc/tegra/fuse/fuse-tegra20.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c
index 49ff017f3ded..0184c9f62f80 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra20.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra20.c
@@ -167,6 +167,11 @@ static void __init tegra20_fuse_init(struct tegra_fuse *fuse)
 
 	tegra_init_revision();
 	fuse->soc->speedo_init(&tegra_sku_info);
+
+	if (tegra_sku_info.revision == TEGRA_REVISION_A04 &&
+			tegra_sku_info.sku_id == 44)
+		tegra_sku_info.is_automotive = true;
+
 	tegra20_fuse_add_randomness();
 }
 
-- 
2.11.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux