added hardware.ram.startAddress config

it's not 0 on arm32, so this will be useful for qemu
This commit is contained in:
Daniel Barlow
2023-11-05 15:11:58 +00:00
parent 629624bb25
commit 863045b86b
2 changed files with 7 additions and 0 deletions

View File

@@ -29,6 +29,12 @@ in {
description = "\"Default\" output: what gets built for this device when outputs.default is requested. Typically this is \"flashimage\" or \"vmroot\"";
type = types.nonEmptyStr;
};
ram = {
startAddress = mkOption {
type = types.int;
};
};
flash = {
# start address and size of whichever partition (often
# called "firmware") we're going to overwrite with our