move tftp config to base module
we need it for flashing from u-boot even when tftp booting is not enabled
This commit is contained in:
parent
ce05f4e44c
commit
e78d5212e6
2 changed files with 8 additions and 12 deletions
|
@ -42,6 +42,14 @@ in {
|
|||
type = types.listOf types.nonEmptyStr;
|
||||
default = [];
|
||||
};
|
||||
tftp = {
|
||||
loadAddress = mkOption { type = types.str; };
|
||||
# These names match the uboot environment variables. I reserve
|
||||
# the right to change them if I think of better ones.
|
||||
ipaddr = mkOption { type = types.str; };
|
||||
serverip = mkOption { type = types.str; };
|
||||
enable = mkOption { type = types.boolean; };
|
||||
};
|
||||
};
|
||||
};
|
||||
config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue