firmware-imx: add custom sdma-firmware service for the ccimx8mn-dvk
This service is the same as the one provided by NXP, but with altered dependencies. Start it before the kernel modules are loaded so the firmware is ready by the time the mcp25xxfd module is loaded. https://jira.digi.com/browse/DEL-7114 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
ec0cf65c8e
commit
95e7f61f33
|
|
@ -0,0 +1,15 @@
|
|||
# The SDMA firmware needs to be loaded in order for the kernel to carry out
|
||||
# SPI tranfers with DMA. Such transfers are required when probing the mcp25xxfd
|
||||
# module, so make sure the firmware is loaded before the module is by adding
|
||||
# the appropriate dependencies in this service.
|
||||
|
||||
[Unit]
|
||||
Description=User Space SDMA Firmware Loading
|
||||
Before=systemd-modules-load.service
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
ExecStart=/etc/sdma
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
Loading…
Reference in New Issue