starfive visionfive2: use ubootVisionFive2
This commit is contained in:
parent
40b1a28dce
commit
c9fd1cfdd4
2 changed files with 1 additions and 18 deletions
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue