[Boot] Fix error if loops_per_jiffies is not set

This commit is contained in:
Antoine Viallon 2022-04-10 02:09:48 +02:00
parent 54d899103d
commit 10a0eb5df2
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -77,7 +77,7 @@ in
description = "Set loops_per_jiffies to given constant, reducing boot-time. A value of 0 means autodetection.";
default = 0;
example = 4589490;
type = types.addCheck types.int (v: v > 500);
type = types.addCheck types.int (v: v > 500 || v == 0);
};
cmdline = mkOption {