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