Skip to content

Commit

Permalink
rk3xgpio: Set StartType to SERVICE_BOOT_START
Browse files Browse the repository at this point in the history
dwcmshc depends on GPIO for card detection. When booting from SD, the
GPIO driver must be loaded first.

Signed-off-by: Mario Bălănică <[email protected]>
  • Loading branch information
mariobalanica committed Jun 20, 2024
1 parent 050ccb1 commit 0ad8df5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpio/rk3xgpio/rk3xgpio.inx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ AddService = Rk3xGPIO,%SPSVCINST_ASSOCSERVICE%, Rk3xGPIO_Service_Inst
[Rk3xGPIO_Service_Inst]
DisplayName = %Rk3xGPIO.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
StartType = 0 ; SERVICE_BOOT_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\rk3xgpio.sys
LoadOrderGroup = Base
Dependencies = GPIOClx0101

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Expand Down

0 comments on commit 0ad8df5

Please sign in to comment.