GNU Linux-libre 5.10.192-gnu1 scripts scripts/v5.10.192-gnu1
authorFreedo <freedo@linux-libre.fsfla.org>
Sun, 27 Aug 2023 07:34:20 +0000 (07:34 +0000)
committerFreedo <freedo@linux-libre.fsfla.org>
Sun, 27 Aug 2023 07:34:20 +0000 (07:34 +0000)
deblob-5.10

index 8a9cc2c57e97f7ac63af22b8e1d92723620045c5..96b12776e7aa58eec39946b656ac15a72c2c91ec 100755 (executable)
@@ -3767,9 +3767,22 @@ clean_mk CONFIG_I2C_SLAVE_EEPROM drivers/i2c/Makefile
 # fill in the required fw_image field of mhi_controller.  Let me know
 # if you find any uses in which the firmware is Free Software.
 announce MHI_BUS - "Modem Host Interface (MHI) bus"
-reject_firmware drivers/bus/mhi/core/boot.c
-clean_kconfig drivers/bus/mhi/Kconfig MHI_BUS
-clean_mk CONFIG_MHI_BUS drivers/bus/mhi/core/Makefile
+if test -f drivers/bus/mhi/host/boot.c; then
+  reject_firmware drivers/bus/mhi/host/boot.c
+  clean_kconfig drivers/bus/mhi/host/Kconfig MHI_BUS
+  clean_mk CONFIG_MHI_BUS drivers/bus/mhi/host/Makefile
+else  
+  reject_firmware drivers/bus/mhi/core/boot.c
+  clean_kconfig drivers/bus/mhi/Kconfig MHI_BUS
+  clean_mk CONFIG_MHI_BUS drivers/bus/mhi/core/Makefile
+fi
+
+if test -f drivers/bus/mhi/host/pci_generic.c; then
+  announce MHI_BUS_PCI_GENERIC - "MHI PCI controller driver"
+  clean_blob drivers/bus/mhi/host/pci_generic.c
+  clean_kconfig drivers/bus/mhi/host/Kconfig MHI_BUS_PCI_GENERIC
+  clean_mk CONFIG_MHI_BUS_PCI_GENERIC drivers/bus/mhi/host/Makefile
+fi
 
 # Greybus