Files
linux-nv-oot/include/linux/tegra-oot-prod.h
Laxman Dewangan e748c978d5 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>
2025-04-16 12:09:18 -07:00

27 lines
674 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#ifndef _TEGRA_OOT_PRODS_H
#define _TEGRA_OOT_PRODS_H
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
#ifdef CONFIG_TEGRA_PROD_LEGACY
#include <soc/tegra/tegra-prod.h>
#include <linux/tegra_prod.h>
#else
#include <linux/tegra-prod-upstream-dummy.h>
#include <linux/tegra-prod-legacy-dummy.h>
#endif
#else /* LINUX_VERSION_CODE */
#ifdef CONFIG_TEGRA_PROD_LEGACY
#include <linux/tegra_prod.h>
#else
#include <linux/tegra-prod-legacy-dummy.h>
#endif
#endif /* LINUX_VERSION_CODE */
#endif /* _TEGRA_OOT_PRODS_H */