|
|
ace748 |
From 436052a84b84183a3b44b19d7a9db02d391bf26a Mon Sep 17 00:00:00 2001
|
|
|
ace748 |
From: Peter Robinson <pbrobinson@gmail.com>
|
|
|
ace748 |
Date: Thu, 23 Mar 2017 14:59:15 +0000
|
|
|
ace748 |
Subject: [PATCH] Add check for aarch64 to the arm kernel module list
|
|
|
ace748 |
|
|
|
ace748 |
This adds the same list of drivers we use for arm platforms for
|
|
|
ace748 |
aarch64 too, also add the DMA drivers there too as they can add
|
|
|
ace748 |
sigficant performance for some storage/usb and often need to be
|
|
|
ace748 |
present when the storage drivers load.
|
|
|
ace748 |
|
|
|
ace748 |
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
|
ace748 |
|
|
|
ace748 |
Cherry-picked from: 917e1b6b5b2669a30bce69061686adbb6abc5e35
|
|
|
ace748 |
Resolves: #1459277
|
|
|
ace748 |
---
|
|
|
ace748 |
modules.d/90kernel-modules/module-setup.sh | 5 +++--
|
|
|
ace748 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
ace748 |
|
|
|
ace748 |
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
|
|
1755ca |
index 0a414eaf..c4bf5af5 100755
|
|
|
ace748 |
--- a/modules.d/90kernel-modules/module-setup.sh
|
|
|
ace748 |
+++ b/modules.d/90kernel-modules/module-setup.sh
|
|
|
ace748 |
@@ -52,13 +52,14 @@ installkernel() {
|
|
|
ace748 |
"=drivers/input/serio" \
|
|
|
ace748 |
"=drivers/input/keyboard"
|
|
|
ace748 |
|
|
|
ace748 |
- if [[ "$(uname -p)" == arm* ]]; then
|
|
|
ace748 |
- # arm specific modules
|
|
|
ace748 |
+ if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
|
|
|
ace748 |
+ # arm/aarch64 specific modules
|
|
|
ace748 |
hostonly='' instmods \
|
|
|
ace748 |
connector-hdmi connector-dvi encoder-tfp410 \
|
|
|
ace748 |
encoder-tpd12s015 i2c-tegra gpio-regulator \
|
|
|
ace748 |
as3722-regulator orion-ehci ehci-tegra
|
|
|
ace748 |
instmods \
|
|
|
ace748 |
+ "=drivers/dma" \
|
|
|
ace748 |
"=drivers/i2c/busses" \
|
|
|
ace748 |
"=drivers/regulator" \
|
|
|
ace748 |
"=drivers/rtc" \
|