diff mbox series

[04/14] linux-firmware: package Tegra X1 USB firmware

Message ID 20241029161046.110403-5-tmn505@terefe.re
State New
Headers show
Series Add support for NVIDIA Jetson TX1 DevKit | expand

Commit Message

Tomasz Maciej Nowak Oct. 29, 2024, 3:46 p.m. UTC
From: Koen Vandeputte <koen.vandeputte@citymesh.com>

Used on boards integrating Tegra X1 SoC, necessary for USB bringup.

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
[separated from USB driver addition, reword]
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
---
 package/firmware/linux-firmware/nvidia.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 package/firmware/linux-firmware/nvidia.mk
diff mbox series

Patch

diff --git a/package/firmware/linux-firmware/nvidia.mk b/package/firmware/linux-firmware/nvidia.mk
new file mode 100644
index 000000000000..b18d9c224007
--- /dev/null
+++ b/package/firmware/linux-firmware/nvidia.mk
@@ -0,0 +1,9 @@ 
+Package/t210-usb-firmware = $(call Package/firmware-default,nVidia T210 USB firmware)
+define Package/t210-usb-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware/nvidia/tegra210
+	$(INSTALL_DATA) \
+		$(PKG_BUILD_DIR)/nvidia/tegra210/xusb.bin \
+		$(1)/lib/firmware/nvidia/tegra210
+endef
+$(eval $(call BuildPackage,t210-usb-firmware))
+