summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBrian McKenna <brian@brianmckenna.org>2015-10-16 21:36:18 +1100
committerVladimír Čunát <vcunat@gmail.com>2015-11-11 15:33:42 +0100
commit6668058a6246350382c896262e49b58843529c09 (patch)
tree737112a2d0d9b677df456cc8fd735637b844c9d2 /pkgs
parent03959d46165f49e6c3629cf1bf2a9ce0f6933de3 (diff)
downloadnixlib-6668058a6246350382c896262e49b58843529c09.tar
nixlib-6668058a6246350382c896262e49b58843529c09.tar.gz
nixlib-6668058a6246350382c896262e49b58843529c09.tar.bz2
nixlib-6668058a6246350382c896262e49b58843529c09.tar.lz
nixlib-6668058a6246350382c896262e49b58843529c09.tar.xz
nixlib-6668058a6246350382c896262e49b58843529c09.tar.zst
nixlib-6668058a6246350382c896262e49b58843529c09.zip
linux: add config options needed for a Bay Trail Chromebook
Close #10416.
Got /dev/mmcblk0 on a live CD with these options:

    X86_INTEL_LPSS y
    PINCTRL_BAYTRAIL y
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 105d7e7f9f38..19731eccc90b 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -41,6 +41,9 @@ with stdenv.lib;
     PM_RUNTIME y
   ''}
   PM_ADVANCED_DEBUG y
+  ${optionalString (versionAtLeast version "3.11") ''
+    X86_INTEL_LPSS y
+  ''}
   ${optionalString (versionAtLeast version "3.10") ''
     X86_INTEL_PSTATE y
   ''}
@@ -316,6 +319,9 @@ with stdenv.lib;
   MOUSE_PS2_ELANTECH y # Elantech PS/2 protocol extension
   MTRR_SANITIZER y
   NET_FC y # Fibre Channel driver support
+  ${optionalString (versionAtLeast version "3.11") ''
+    PINCTRL_BAYTRAIL y # GPIO on Intel Bay Trail, for some Chromebook internal eMMC disks
+  ''}
   PPP_MULTILINK y # PPP multilink support
   PPP_FILTER y
   REGULATOR y # Voltage and Current Regulator Support