From 047b25816e22b9dbd16c74c9309d81c5595c9de0 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 18 Apr 2023 14:16:33 +0000 Subject: [PATCH] tsec: Get rid of CONFIG_TEGRA_TSEC The config variable CONFIG_TEGRA_TSEC is set as m inside the Makefile for OOT build. As the tsec driver inside nvidia-oot is only build as module and there is no Kconfig, remove this config variable. Bug 4074863 Change-Id: Ie5dcfb71b519cc3adb8afeb504741c197ef23ecc Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2889982 Reviewed-by: svcacv Reviewed-by: Mayuresh Kulkarni Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/tsec/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/video/tegra/tsec/Makefile b/drivers/video/tegra/tsec/Makefile index eb39bb4c..75e07ca9 100644 --- a/drivers/video/tegra/tsec/Makefile +++ b/drivers/video/tegra/tsec/Makefile @@ -1,13 +1,7 @@ -# -# Tsec Driver code. -# +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. GCOV_PROFILE := y -# Set config to build as module for OOT build -ifeq ($(CONFIG_TEGRA_OOT_MODULE),m) -CONFIG_TEGRA_TSEC := m -endif - -obj-$(CONFIG_TEGRA_TSEC) += tsecriscv.o +obj-m += tsecriscv.o tsecriscv-y := tsec_comms/tsec_comms.o tsec_boot.o tsec.o