package/linux-firmware: add option for Intel NPU firmware

Add an option to install the firmware files for Intel Neural Processing
Unit (NPU) device.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Dario Binacchi
2025-04-01 16:25:39 +02:00
committed by Julien Olivain
parent a7b88938ea
commit 68d0da4ba7
2 changed files with 18 additions and 0 deletions

View File

@@ -732,4 +732,17 @@ config BR2_PACKAGE_LINUX_FIRMWARE_RP2
endmenu
menu "NPU Firmware"
config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_NPU
bool "Intel NPU firmware"
help
Firmware files for Intel NPU device. Intel NPU device is an
AI inference accelerator integrated with Intel client CPUs.
The full device name is Neural Processing Unit, but the
Linux kernel driver uses the older name Versatile Processing
Unit (VPU).
endmenu
endif

View File

@@ -932,6 +932,11 @@ ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RP2),y)
LINUX_FIRMWARE_FILES += rp2.fw
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_NPU),y)
LINUX_FIRMWARE_FILES += intel/vpu/vpu_*.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.intel_vpu
endif
ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
define LINUX_FIRMWARE_BUILD_CMDS