reduce number of params obtained on QSPI for icarus sim
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 31 Mar 2022 13:42:53 +0000 (14:42 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 31 Mar 2022 13:42:53 +0000 (14:42 +0100)
coldboot/coldboot.c

index 5586e90f9abc452a55d85c23bf4925c3c6832932..dcf6277926f4bf7139eedae1a0c6f6d1486f0d71 100644 (file)
@@ -68,16 +68,16 @@ int main(void) {
 
        puts("fw..");
 #if 1
-#if 0
+#if 1
     // print out configuration parameters for QSPI
        volatile uint32_t *qspi_cfg = (uint32_t*)0xc0003000;
-    for (int k=0; k < 10; k++) {
+    for (int k=0; k < 2; k++) {
         tmp = readl((unsigned long)&(qspi_cfg[k]));
-        puts("cfg");
-        uart_writeuint32(k);
-        puts(" ");
-        uart_writeuint32(tmp);
-        puts("\n");
+        //puts("cfg");
+        //uart_writeuint32(k);
+        //puts(" ");
+        //uart_writeuint32(tmp);
+        //puts("\n");
     }
 #endif
        volatile uint32_t *qspi = (uint32_t*)0x10000000;