summaryrefslogtreecommitdiff
path: root/util/sconfig/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/sconfig/main.c')
-rw-r--r--util/sconfig/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 8f4d7d947b..2e34d85ad5 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -290,6 +290,10 @@ struct device *new_device(struct device *parent, struct device *busdev,
new_d->path = ".type=DEVICE_PATH_SPI,{.spi={ .cs = 0x%x }}";
break;
+ case USB:
+ new_d->path = ".type=DEVICE_PATH_USB,{.usb={ .port_type = %d, .port_id = %d }}";
+ break;
+
case MMIO:
new_d->path = ".type=DEVICE_PATH_MMIO,{.mmio={ .addr = 0x%x }}";
break;