x86: spi: Add device tree support
[u-boot.git] / drivers / spi / ich.c
index 0379444872e73ed413cc03ff029b08dad30d1f37..fdff158637da063a9be9967c4ae13df5b5018e21 100644 (file)
@@ -153,6 +153,13 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
        return &ich->slave;
 }
 
+struct spi_slave *spi_setup_slave_fdt(const void *blob, int slave_node,
+                                     int spi_node)
+{
+       /* We only support a single SPI at present */
+       return spi_setup_slave(0, 0, 20000000, 0);
+}
+
 void spi_free_slave(struct spi_slave *slave)
 {
        struct ich_spi_slave *ich = to_ich_spi(slave);
This page took 0.030763 seconds and 4 git commands to generate.