diff options
Diffstat (limited to 'util/sconfig/main.c')
-rw-r--r-- | util/sconfig/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 81ce72b763..2bc614589b 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -285,6 +285,11 @@ struct device *new_device(struct device *parent, struct device *busdev, case GENERIC: new_d->path = ".type=DEVICE_PATH_GENERIC,{.generic={ .id = 0x%x, .subid = 0x%x }}"; break; + + case SPI: + new_d->path = ".type=DEVICE_PATH_SPI,{.spi={ .cs = 0x%x }}"; + break; + } return new_d; } |