dce: Get rid of CONFIG_TEGRA_DCE

The config variable CONFIG_TEGRA_DCE is set as m
inside the Makefile for OOT build. As the dce driver
inside nvidia-oot only build as module and there is
no Kconfig, remove this config variable.

Bug 4074863

Change-Id: I16436e97db583f2a8184dfffc3e18ebfddb62967
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2889992
Reviewed-by: svcacv <svcacv@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:46:30 +00:00
committed by mobile promotions
parent 3cadadc11c
commit a9e9f0cde1

View File

@@ -13,14 +13,10 @@ ifeq ($(VERSION),4)
ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
endif
# Set config when build as OOT module.
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
CONFIG_TEGRA_DCE := m
ccflags-y += -I$(srctree.nvidia)/include
endif
obj-$(CONFIG_TEGRA_DCE) += tegra-dce.o
tegra-dce-$(CONFIG_TEGRA_DCE) += \
obj-m += tegra-dce.o
tegra-dce-objs += \
dce-ast.o \
dce-reset.o \
dce-hsp-smb.o \
@@ -39,7 +35,7 @@ tegra-dce-$(CONFIG_TEGRA_DCE) += \
dce-util-common.o
ifeq ($(CONFIG_DEBUG_FS),y)
tegra-dce-$(CONFIG_TEGRA_DCE) += \
tegra-dce-objs += \
dce-debug.o \
dce-admin-debug.o \
dce-debug-perf.o