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 <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2889982
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-04-18 14:16:33 +00:00
committed by mobile promotions
parent b53f6a8262
commit 047b25816e

View File

@@ -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