diff options
Diffstat (limited to 'util/sconfig/main.c')
-rw-r--r-- | util/sconfig/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 570ca4a0cf..8f4d7d947b 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -290,7 +290,11 @@ struct device *new_device(struct device *parent, struct device *busdev, new_d->path = ".type=DEVICE_PATH_SPI,{.spi={ .cs = 0x%x }}"; break; + case MMIO: + new_d->path = ".type=DEVICE_PATH_MMIO,{.mmio={ .addr = 0x%x }}"; + break; } + return new_d; } |