mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
accel/habanalabs/gaudi: Add MODULE_FIRMWARE macros
The module loads firmware so add MODULE_FIRMWARE macros to provide that information via modinfo. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
e11a7d2ca5
commit
b03dc2b621
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@
|
|||
#define GAUDI_LINUX_FW_FILE "habanalabs/gaudi/gaudi-fit.itb"
|
||||
#define GAUDI_TPC_FW_FILE "habanalabs/gaudi/gaudi_tpc.bin"
|
||||
|
||||
MODULE_FIRMWARE(GAUDI_BOOT_FIT_FILE);
|
||||
MODULE_FIRMWARE(GAUDI_LINUX_FW_FILE);
|
||||
MODULE_FIRMWARE(GAUDI_TPC_FW_FILE);
|
||||
|
||||
#define GAUDI_DMA_POOL_BLK_SIZE 0x100 /* 256 bytes */
|
||||
|
||||
#define GAUDI_RESET_TIMEOUT_MSEC 2000 /* 2000ms */
|
||||
|
|
Loading…
Reference in a new issue