From 598f951b93c6cdaa0507ea8292fc26494ab52e9e Mon Sep 17 00:00:00 2001 From: spatki Date: Mon, 24 Feb 2025 08:30:11 +0000 Subject: [PATCH] tsec: add firmware desc path as module fw During SC7 tsec driver is unable to find the desc file for the tsec fw and thus tsec boot fails. This might result into system hang. Hence this change adds the tsec fw desc file path as the module firmware so that the firmware is available to it during SC7. Bug 5053273 Change-Id: I4f2c9bb5288dac6973f574159fdebc48009edf2a Signed-off-by: spatki Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3308515 Reviewed-by: Nikesh Oswal Reviewed-by: Jon Hunter GVS: buildbot_gerritrpt --- drivers/video/tegra/tsec/tsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/tegra/tsec/tsec.c b/drivers/video/tegra/tsec/tsec.c index e710d5e2..04394ef1 100644 --- a/drivers/video/tegra/tsec/tsec.c +++ b/drivers/video/tegra/tsec/tsec.c @@ -21,6 +21,8 @@ static struct tsec_device_data t23x_tsec_data = { .riscv_desc_bin = "tegra23x/nvhost_tsec_desc.fw", .riscv_image_bin = "tegra23x/nvhost_tsec_riscv.fw", }; +MODULE_FIRMWARE("tegra23x/nvhost_tsec_riscv.fw"); +MODULE_FIRMWARE("tegra23x/nvhost_tsec_desc.fw"); static struct tsec_device_data t239_tsec_data = { .rate = {192000000, 0, 204000000},