about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-03-22 08:49:10 +0300
committerK900 <me@0upti.me>2024-03-22 08:49:45 +0300
commit1db686b48bf47119f5782a62efd9b905d911e17c (patch)
tree94998711b0edbe8d50288b80b21e99b58f196e48 /pkgs/misc/uboot
parent8502a2a6b5dfc364ade9350b9c6b135932037c26 (diff)
ubootOrangePi5: also build the SPI image
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 8247ec24f547f..8063c663d3f71 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -378,7 +378,13 @@ in {
     extraMeta.platforms = ["aarch64-linux"];
     BL31 = "${armTrustedFirmwareRK3588}/bl31.elf";
     ROCKCHIP_TPL = rkbin.TPL_RK3588;
-    filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ];
+
+    # FIXME: applied upstream, remove in 2024.04
+    extraConfig = ''
+      CONFIG_ROCKCHIP_SPI_IMAGE=y
+    '';
+
+    filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" "u-boot-rockchip-spi.bin" ];
   };
 
   ubootOrangePiPc = buildUBoot {