From 1bbc58c1b736627177baf405372918e00aa3f6db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20B=C4=83l=C4=83nic=C4=83?= Date: Thu, 20 Jun 2024 22:00:17 +0300 Subject: [PATCH] rk3xgpio: Set StartType to SERVICE_BOOT_START MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ă --- drivers/gpio/rk3xgpio/rk3xgpio.inx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/rk3xgpio/rk3xgpio.inx b/drivers/gpio/rk3xgpio/rk3xgpio.inx index 0a3f1ed..8bd04bd 100644 --- a/drivers/gpio/rk3xgpio/rk3xgpio.inx +++ b/drivers/gpio/rk3xgpio/rk3xgpio.inx @@ -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