mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Merge branch 'logicog:main' into parser_fix
This commit is contained in:
+1
-1
@@ -811,7 +811,7 @@ void sds_config(uint8_t sds, uint8_t mode)
|
|||||||
if (mode != SDS_QXGMII)
|
if (mode != SDS_QXGMII)
|
||||||
sds_write_v(sds, 0x06, 0x1f, 0x2100); // Q00061f:2100
|
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, 0x02, 0x04, 0x0020); // Q000204:0020
|
||||||
sds_write_v(sds, 0x00, 0x02, 0x73d0); // Q000002:73d0
|
sds_write_v(sds, 0x00, 0x02, 0x73d0); // Q000002:73d0
|
||||||
sds_write_v(sds, 0x00, 0x04, 0x074d); // Q000004:074d
|
sds_write_v(sds, 0x00, 0x04, 0x074d); // Q000004:074d
|
||||||
|
|||||||
@@ -112,8 +112,8 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
for (int b = BANK0_SIZE; b < BANK_STRIDE + BANK0_SIZE; b ++) {
|
for (int b = BANK0_SIZE; b < BANK_STRIDE + BANK0_SIZE; b ++) {
|
||||||
if (buffer[b]) {
|
if (buffer[b]) {
|
||||||
printf("WARNING: Bank 0: code segment too large at 0x%x!\n", b);
|
printf("Error: Bank 0: code segment too large at 0x%x!\n", b);
|
||||||
break;
|
return 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int bank = 1; bank <= nbanks; bank++) {
|
for (int bank = 1; bank <= nbanks; bank++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user