From ded7214cbff09ed24fb9eb7c4571e5930a0b5037 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Tue, 8 Oct 2019 17:09:01 +0300 Subject: hook-functions: Handle dw_mmc-rockchip hidden dependency on rockchip-io-domain Without rockchip-io-domain, I'm getting the following errors when plugging micro SD cards to a rk3399-gru-kevin: dwmmc_rockchip fe320000.dwmmc: All phases bad! mmc1: tuning execution failed: -5 mmc1: error -5 whilst initialising SD card In that case the relevant /dev/mmcblk* device isn't available either, so we can't boot from the external SD card. Signed-off-by: Alper Nebi Yasak --- hook-functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index c9f676f..d69ce04 100644 --- a/hook-functions +++ b/hook-functions @@ -673,6 +673,9 @@ hidden_dep_add_modules() spi-rockchip) echo pl330 ;; + dw_mmc-rockchip) + echo rockchip-io-domain + ;; esac done ) -- cgit v1.2.3