Merge branch 'logicog:main' into parser_fix

This commit is contained in:
feelfree69
2026-03-15 08:58:15 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -811,7 +811,7 @@ void sds_config(uint8_t sds, uint8_t mode)
if (mode != SDS_QXGMII)
sds_write_v(sds, 0x06, 0x1f, 0x2100); // Q00061f:2100
if (sds == 0 && mode == SDS_1000BX_FIBER) {
if (mode == SDS_1000BX_FIBER) {
sds_write_v(sds, 0x02, 0x04, 0x0020); // Q000204:0020
sds_write_v(sds, 0x00, 0x02, 0x73d0); // Q000002:73d0
sds_write_v(sds, 0x00, 0x04, 0x074d); // Q000004:074d
+2 -2
View File
@@ -112,8 +112,8 @@ int main(int argc, char **argv)
}
for (int b = BANK0_SIZE; b < BANK_STRIDE + BANK0_SIZE; b ++) {
if (buffer[b]) {
printf("WARNING: Bank 0: code segment too large at 0x%x!\n", b);
break;
printf("Error: Bank 0: code segment too large at 0x%x!\n", b);
return 5;
}
}
for (int bank = 1; bank <= nbanks; bank++) {