mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 15:33:29 +01:00
Merge pull request #1726 from onny/visionfive2-cleanup
starfive visionfive2: cleanup kernel requirements
This commit is contained in:
1 file changed
-8
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
consoleLogLevel = lib.mkDefault 7;
|
consoleLogLevel = lib.mkDefault 7;
|
||||||
# Switch to default as soon they reach >= 6.11
|
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
|
initrd.availableKernelModules = [ "dw_mmc_starfive" ];
|
||||||
|
|
||||||
@@ -31,10 +29,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
assertions = [
|
|
||||||
{
|
|
||||||
assertion = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.11";
|
|
||||||
message = "The VisionFive 2 requires at least mainline kernel version 6.11 for minimum hardware support.";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user