mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
firmware: Add dummy tegra BPMP driver for Linux 6.6
Tegra BPMP driver is not supported with Linux 6.6. However, the packaging of the embedded-linux required this driver. Add dummy driver to complete the packaging till packaging files have solution to complete with and without this driver. Bug 4346767 Change-Id: I113019d6ef25860511683b326f9c90d6ff1e99a3 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3012092 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b6dcd3d9ce
commit
4c575fd98c
@@ -13,4 +13,8 @@ tegra_bpmp-y += ../../soc/tegra/powergate-bpmp.o
|
|||||||
tegra_bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o
|
tegra_bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o
|
||||||
tegra_bpmp-y += bpmp-tegra186-hv.o
|
tegra_bpmp-y += bpmp-tegra186-hv.o
|
||||||
obj-m += tegra_bpmp.o
|
obj-m += tegra_bpmp.o
|
||||||
|
else
|
||||||
|
# Develop the dummy driver for packaging script temporarily
|
||||||
|
tegra_bpmp-y = tegra-bpmp-dummy.o
|
||||||
|
obj-m += tegra_bpmp.o
|
||||||
endif
|
endif
|
||||||
|
|||||||
17
drivers/firmware/tegra/tegra-bpmp-dummy.c
Normal file
17
drivers/firmware/tegra/tegra-bpmp-dummy.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <linux/module.h>
|
||||||
|
|
||||||
|
/* Dummy implementation for module */
|
||||||
|
static int __init tegra_bpmp_dummy_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
device_initcall(tegra_bpmp_dummy_init);
|
||||||
|
|
||||||
|
MODULE_AUTHOR("Laxman Dewangan <ldewangan@nvidia.com>");
|
||||||
|
MODULE_DESCRIPTION("Dummy bpmp driver");
|
||||||
|
MODULE_LICENSE("GPL V2");
|
||||||
Reference in New Issue
Block a user