rockchip: spi: Correct the bus init code
[oweals/u-boot.git] / drivers / spi / ich.c
index 64322dd2bba4f677f489339bda2520cc86d81dc4..59eaaea69396e8082ba373558d37c84f4ab8d53d 100644 (file)
@@ -752,8 +752,8 @@ static int ich_spi_child_pre_probe(struct udevice *dev)
         * and byte program command for SST flash
         */
        if (plat->ich_version == 7) {
-               slave->op_mode_rx = SPI_OPM_RX_AS;
-               slave->mode = SPI_TX_BP;
+               slave->mode_rx = SPI_RX_SLOW;
+               slave->mode = SPI_TX_BYTE;
        }
 
        return 0;