mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
starfive visionfive2: use ubootVisionFive2
This commit is contained in:
1 parent
40b1a28dce
commit
c9fd1cfdd4
2 files changed
+1
-18
No files matched your search
@@ -46,7 +46,7 @@ in
|
||||
}
|
||||
);
|
||||
|
||||
uboot = (pkgs.callPackage ./uboot.nix { inherit (config.system.build) opensbi; }).overrideAttrs (
|
||||
uboot = (pkgs.ubootVisionFive2.override { inherit (config.system.build) opensbi; }).overrideAttrs (
|
||||
_f: p: {
|
||||
src = if cfg.uboot.src != null then cfg.uboot.src else p.src;
|
||||
patches = if cfg.uboot.patches != null then cfg.uboot.patches else (p.patches or [ ]);
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
buildUBoot,
|
||||
opensbi,
|
||||
}:
|
||||
|
||||
buildUBoot {
|
||||
extraMakeFlags = [
|
||||
"OPENSBI=${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin"
|
||||
];
|
||||
|
||||
defconfig = "starfive_visionfive2_defconfig";
|
||||
|
||||
filesToInstall = [
|
||||
"spl/u-boot-spl.bin.normal.out"
|
||||
"u-boot.itb"
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user