Blame 0078-dracut-Add-drivers-clk-by-default-on-arm.patch

Harald Hoyer 414eba
From 2602a74edf543f98f2aa1eb79db3de3a1cda13f0 Mon Sep 17 00:00:00 2001
Harald Hoyer 414eba
From: Nicolas Chauvet <kwizart@gmail.com>
Harald Hoyer 414eba
Date: Thu, 12 May 2016 17:28:21 +0200
Harald Hoyer 414eba
Subject: [PATCH] dracut: Add drivers/clk by default on arm
Harald Hoyer 414eba
Harald Hoyer 414eba
This will bundle clock drivers into the initramfs on arm
Harald Hoyer 414eba
Harald Hoyer 414eba
Tested on ti dm8148-t410 where adpll is needed on 4.6+ kernel
Harald Hoyer 414eba
This will avoid to rely on (maybe broken) bootloader clocks.
Harald Hoyer 414eba
Harald Hoyer 414eba
Theses modules are also usually loaded early. Having them bundled into
Harald Hoyer 414eba
the initramfs will avoid lot of deferred probes and others delay.
Harald Hoyer 414eba
Harald Hoyer 414eba
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
Harald Hoyer 414eba
---
Harald Hoyer 414eba
 modules.d/90kernel-modules/module-setup.sh | 1 +
Harald Hoyer 414eba
 1 file changed, 1 insertion(+)
Harald Hoyer 414eba
Harald Hoyer 414eba
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
Harald Hoyer 414eba
index c30715d..7904c02 100755
Harald Hoyer 414eba
--- a/modules.d/90kernel-modules/module-setup.sh
Harald Hoyer 414eba
+++ b/modules.d/90kernel-modules/module-setup.sh
Harald Hoyer 414eba
@@ -26,6 +26,7 @@ installkernel() {
Harald Hoyer 414eba
         if [[ "$(uname -p)" == arm* ]]; then
Harald Hoyer 414eba
             # arm specific modules
Harald Hoyer 414eba
             instmods \
Harald Hoyer 414eba
+                "=drivers/clk" \
Harald Hoyer 414eba
                 "=drivers/i2c/busses" \
Harald Hoyer 414eba
                 "=drivers/regulator" \
Harald Hoyer 414eba
                 "=drivers/rtc" \