]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: Add drivers/clk by default on arm
authorNicolas Chauvet <kwizart@gmail.com>
Thu, 12 May 2016 15:28:21 +0000 (17:28 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Jun 2016 08:48:49 +0000 (10:48 +0200)
This will bundle clock drivers into the initramfs on arm

Tested on ti dm8148-t410 where adpll is needed on 4.6+ kernel
This will avoid to rely on (maybe broken) bootloader clocks.

Theses modules are also usually loaded early. Having them bundled into
the initramfs will avoid lot of deferred probes and others delay.

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index c30715d2bffb3d32097b1283c1eaa2eebc583f77..7904c024dd1cec9271ed9459f1532d08c2ce9b9b 100755 (executable)
@@ -26,6 +26,7 @@ installkernel() {
         if [[ "$(uname -p)" == arm* ]]; then
             # arm specific modules
             instmods \
+                "=drivers/clk" \
                 "=drivers/i2c/busses" \
                 "=drivers/regulator" \
                 "=drivers/rtc" \