mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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>
27 lines
674 B
C
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 */
|