about summary refs log tree commit diff
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.nix25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 8b4e59b65ee4e..d6e5e8a7bcb0a 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -412,31 +412,6 @@ in {
     defconfig = "rpi_4_defconfig";
     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
-    '';
-    # These were taken from:
-    # https://github.com/home-assistant/operating-system/tree/dev/buildroot-external/board/raspberrypi/patches/uboot
-    # https://github.com/home-assistant/operating-system/tree/dev/buildroot-external/board/raspberrypi/yellow/patches/uboot
-    extraPatches = [
-      ./rpi-cm4/0001-rpi-add-NVMe-to-boot-order.patch
-      ./rpi-cm4/0002-Revert-nvme-Correct-the-prps-per-page-calculation-me.patch
-      ./rpi-cm4/0003-usb-xhci-brcm-Make-driver-compatible-with-downstream.patch
-      ./rpi-cm4/0004-drivers-bcm283x-don-t-explicitly-disable-init.patch
-      ./rpi-cm4/0005-drivers-bcm283x-allow-to-spawn-any-PL011-UART.patch
-      ./rpi-cm4/0006-nvme-improve-readability-of-nvme_setup_prps.patch
-      ./rpi-cm4/0007-nvme-Use-pointer-for-CPU-addressed-buffers.patch
-      ./rpi-cm4/0008-nvme-translate-virtual-addresses-into-the-bus-s-addr.patch
-    ];
   };
 
   ubootRaspberryPiZero = buildUBoot {