浏览代码

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
         }
     }