hardware: Add Allwinner A64 SOC
This file was introduced when working on the devkit. The R18 will be
kept for now, even though no devices use it for now.
@@ -6,6 +6,11 @@ let
in
{
options.mobile = {
+ hardware.socs.allwinner-a64.enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "enable when SOC is Allwinner A64";
+ };
hardware.socs.allwinner-r18.enable = mkOption {
type = types.bool;
default = false;
@@ -14,6 +19,12 @@ in
};
config = mkMerge [
+ {
+ mobile = mkIf cfg.allwinner-a64.enable {
+ system.system = "aarch64-linux";
+ quirks.u-boot.soc.family = "allwinner";
+ };
+ }
{
mobile = mkIf cfg.allwinner-r18.enable {
system.system = "aarch64-linux";
