g12: init-files: ueventd: Provide additional firmware directories
authorLuca Stefani <luca.stefani.ge1@gmail.com>
Tue, 27 Jul 2021 21:32:54 +0000 (17:32 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Fri, 30 Jul 2021 17:39:11 +0000 (13:39 -0400)
* The correct way to do this is to let the kernel search fail
  and fall back.

Change-Id: Id98377324a45408e4b0d6b4a3a4eba54488f17fb

init-files/init.amlogic.media.rc
init-files/ueventd.rc

index b25e95d4c2ba6b370a610c1a08e8e5198fcfced8..b146150b102684044c4eddf5b4d6d731cddd670b 100644 (file)
@@ -13,7 +13,6 @@ on boot
 
 on fs
     insmod /vendor/lib/modules/media_clock.ko
-    write /sys/module/firmware_class/parameters/path "/vendor/lib/firmware/"
     insmod /vendor/lib/modules/firmware.ko
     insmod /vendor/lib/modules/video_framerate_adapter.ko
     insmod /vendor/lib/modules/decoder_common.ko
index fc8867111f7070ce5de46c4fa905aadfdc77818b..911fe03b583f09e26315c6b915fe8db22b100d8c 100644 (file)
@@ -1,3 +1,9 @@
+## Firmware directories
+#
+
+# Additional firmware locations
+firmware_directories /vendor/lib/firmware
+
 ## /dev/ devices
 #