]> Git Repo - u-boot.git/blobdiff - drivers/ata/sata_sil.c
Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"
[u-boot.git] / drivers / ata / sata_sil.c
index b5e150d568ba3f7a1368dfff5bbd28e8c0bfe394..5b80f6249d767e3e22bb1aec94f399ca57a0c253 100644 (file)
@@ -5,7 +5,6 @@
  * Author: Tang Yuantian <[email protected]>
  */
 
-#include <common.h>
 #include <blk.h>
 #include <cpu_func.h>
 #include <dm.h>
@@ -730,7 +729,8 @@ static int sil_pci_probe(struct udevice *dev)
        for (i = sata_info.portbase; i < sata_info.maxport; i++) {
                snprintf(sata_name, sizeof(sata_name), "sil_sata%d", i);
                ret = blk_create_devicef(dev, "sata_sil_blk", sata_name,
-                                        UCLASS_AHCI, -1, 512, 0, &blk);
+                                        UCLASS_AHCI, -1, DEFAULT_BLKSZ,
+                                        0, &blk);
                if (ret) {
                        debug("Can't create device\n");
                        return ret;
This page took 0.025086 seconds and 4 git commands to generate.