summaryrefslogtreecommitdiff
path: root/pkgs/misc/uboot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/uboot/default.nix')
-rw-r--r--pkgs/misc/uboot/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 067d9bbbb5b1..0b7013f99dba 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -442,8 +442,21 @@ in {
extraMeta.platforms = ["aarch64-linux"];
filesToInstall = ["u-boot.bin"];
extraConfig = ''
+ CONFIG_CMD_NVME=y
+ CONFIG_NVME=y
+ CONFIG_NVME_PCI=y
+ CONFIG_USB_STORAGE=y
+ CONFIG_USB_FUNCTION_MASS_STORAGE=y
+ CONFIG_USB_EHCI_HCD=y
+ CONFIG_USB_EHCI_GENERIC=y
+ CONFIG_USB_OHCI_HCD=y
+
CONFIG_USB_XHCI_BRCM=y
'';
+ extraPatches = [
+ ./rpi-cm4/0003-rpi-add-NVMe-to-boot-order.patch
+ ./rpi-cm4/0005-usb-xhci-brcm-Make-driver-compatible-with-downstream.patch
+ ];
};
ubootRaspberryPiZero = buildUBoot {