Przeglądaj źródła

Remove debug output

Matthias Vogelgesang 8 lat temu
rodzic
commit
29a3a9f882
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      ddrio.c

+ 2 - 1
ddrio.c

@@ -116,7 +116,6 @@ write_to_ddr (pcilib_t *pci, volatile void *bar, Options *opts)
     if (opts->size == 0)
         opts->size = size;
 
-    printf ("attempt = %zu from %s\n", size, opts->input);
     read_size = fread (data, 1, size, fp);
 
     if (read_size != size) {
@@ -196,6 +195,8 @@ read_from_ddr (pcilib_t *pci, volatile void *bar, Options *opts)
     /* Hmm ... */
     usleep(100000);
 
+    WR32_sleep (0x04, 0);
+
     fwrite (mem, 1, size, fp);
     fclose (fp);