Переглянути джерело

Free up some space for Daynaport

This workaround should be removed once more RAM is available on the RP2040
builds

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Stefan Reinauer 1 рік тому
батько
коміт
de8fe25de5
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      src/ZuluSCSI_initiator.cpp

+ 6 - 0
src/ZuluSCSI_initiator.cpp

@@ -264,7 +264,9 @@ void scsiInitiatorMainLoop()
             }
             else
             {
+#ifndef ZULUSCSI_NETWORK
                 dbgmsg("Failed to connect to SCSI ID ", g_initiator_state.target_id);
+#endif
                 g_initiator_state.sectorsize = 0;
                 g_initiator_state.sectorcount = g_initiator_state.sectorcount_all = 0;
             }
@@ -548,7 +550,9 @@ int scsiInitiatorRunCommand(int target_id,
 
     if (!scsiHostPhySelect(target_id, g_initiator_state.initiator_id))
     {
+#ifndef ZULUSCSI_NETWORK
         dbgmsg("------ Target ", target_id, " did not respond");
+#endif
         scsiHostPhyRelease();
         return -1;
     }
@@ -612,7 +616,9 @@ int scsiInitiatorRunCommand(int target_id,
             uint8_t tmp = -1;
             scsiHostRead(&tmp, 1);
             status = tmp;
+#ifndef ZULUSCSI_NETWORK
             dbgmsg("------ STATUS: ", tmp);
+#endif
         }
     }