mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
linux/common-config: move USB_XHCI_TEGRA from lib/systems aarch64-multiplatform
Co-authored-by: Emily <vcs@emily.moe>
This commit is contained in:
parent
f77c3e23e5
commit
9497b712f6
2 changed files with 4 additions and 5 deletions
|
|
@ -152,11 +152,6 @@ rec {
|
|||
DTB = true;
|
||||
autoModules = true;
|
||||
preferBuiltin = true;
|
||||
extraConfig = ''
|
||||
# The default (=y) forces us to have the XHCI firmware available in initrd,
|
||||
# which our initrd builder can't currently do easily.
|
||||
USB_XHCI_TEGRA m
|
||||
'';
|
||||
target = "Image";
|
||||
};
|
||||
gcc = {
|
||||
|
|
|
|||
|
|
@ -672,6 +672,10 @@ let
|
|||
USB_DWC3_DUAL_ROLE = yes;
|
||||
|
||||
USB_XHCI_SIDEBAND = whenAtLeast "6.16" yes; # needed for audio offload
|
||||
|
||||
# The default (=y) forces us to have the XHCI firmware available in initrd,
|
||||
# which our initrd builder can't currently do easily.
|
||||
USB_XHCI_TEGRA = lib.mkIf stdenv.hostPlatform.isAarch64 module;
|
||||
};
|
||||
|
||||
usb-serial = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue