prod: rename config TEGRA_PROD_ENABLE to TEGRA_PROD_LEGACY

To support the new method of the prod implementation,
rename the older config TEGRA_PROD_ENABLE to
TEGRA_PROD_LEGACY for differentating with new implementation.

Bug 3389584

Change-Id: I3ae0f3f32b4fdfa05ce352963cb0dcdbea489ec2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3013910
(cherry picked from commit 3d64e97531)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3339973
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-11-09 09:31:21 +00:00
committed by mobile promotions
parent 3d806c0cd2
commit e748c978d5

View File

@@ -9,7 +9,7 @@
#include <linux/version.h> #include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
#ifdef CONFIG_TEGRA_PROD_ENABLE #ifdef CONFIG_TEGRA_PROD_LEGACY
#include <soc/tegra/tegra-prod.h> #include <soc/tegra/tegra-prod.h>
#include <linux/tegra_prod.h> #include <linux/tegra_prod.h>
#else #else
@@ -17,7 +17,7 @@
#include <linux/tegra-prod-legacy-dummy.h> #include <linux/tegra-prod-legacy-dummy.h>
#endif #endif
#else /* LINUX_VERSION_CODE */ #else /* LINUX_VERSION_CODE */
#ifdef CONFIG_TEGRA_PROD_ENABLE #ifdef CONFIG_TEGRA_PROD_LEGACY
#include <linux/tegra_prod.h> #include <linux/tegra_prod.h>
#else #else
#include <linux/tegra-prod-legacy-dummy.h> #include <linux/tegra-prod-legacy-dummy.h>