summaryrefslogtreecommitdiffstats
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 0833d388e5a2..5069dc1f6c48 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -908,6 +908,10 @@ static struct device *new_device_with_path(struct bus *parent,
case GPIO:
new_d->path = ".type=DEVICE_PATH_GPIO,{.gpio={ .id = 0x%x }}";
break;
+
+ case MDIO:
+ new_d->path = ".type=DEVICE_PATH_MDIO,{.mdio={ .addr = 0x%x }}";
+ break;
}
return new_d;