diff --git a/drivers/firmware/tegra/Makefile b/drivers/firmware/tegra/Makefile index 5d8e8ac3..64d97c68 100644 --- a/drivers/firmware/tegra/Makefile +++ b/drivers/firmware/tegra/Makefile @@ -13,4 +13,8 @@ tegra_bpmp-y += ../../soc/tegra/powergate-bpmp.o tegra_bpmp-$(CONFIG_DEBUG_FS) += bpmp-debugfs.o tegra_bpmp-y += bpmp-tegra186-hv.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 diff --git a/drivers/firmware/tegra/tegra-bpmp-dummy.c b/drivers/firmware/tegra/tegra-bpmp-dummy.c new file mode 100644 index 00000000..de4e5fcc --- /dev/null +++ b/drivers/firmware/tegra/tegra-bpmp-dummy.c @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + */ + +#include + +/* Dummy implementation for module */ +static int __init tegra_bpmp_dummy_init(void) +{ + return 0; +} +device_initcall(tegra_bpmp_dummy_init); + +MODULE_AUTHOR("Laxman Dewangan "); +MODULE_DESCRIPTION("Dummy bpmp driver"); +MODULE_LICENSE("GPL V2");