rockchip/rk3328: init

This commit is contained in:
ZHANG Yuntian
2025-02-07 15:29:06 +08:00
committed by mergify[bot]
parent 9d5dedae84
commit 76a98e3958
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{ lib
, pkgs
, config
, ...
}:
let
cfg = config.hardware.rockchip.rk3328;
in {
options.hardware.rockchip.rk3328 = {
enable = lib.mkEnableOption "Rockchip RK3328 support";
};
config = lib.mkIf cfg.enable {
hardware.rockchip.enable = true;
};
}