wok diff memtest/stuff/memtest86+-5.01-array-size.patch @ rev 25334
updated sunxi-tools (1.1-80 -> 1.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:16:06 2022 +0100 (2022-07-23) |
parents | d44f69067aca |
children |
line diff
1.1 --- a/memtest/stuff/memtest86+-5.01-array-size.patch Fri Apr 30 16:47:13 2021 +0000 1.2 +++ b/memtest/stuff/memtest86+-5.01-array-size.patch Sat Jul 23 17:16:06 2022 +0100 1.3 @@ -18,3 +18,30 @@ 1.4 pci_conf_read( possible_nhm_bus[i], 3, 4, 0x00, 2, &vid); 1.5 pci_conf_read( possible_nhm_bus[i], 3, 4, 0x02, 2, &did); 1.6 vid &= 0xFFFF; 1.7 +@@ -1424,7 +1424,7 @@ 1.8 + unsigned long dramchr; 1.9 + float clockratio; 1.10 + double dramclock; 1.11 +- unsigned int dummy[3]; 1.12 ++ unsigned int dummy[4]; 1.13 + int ram_type; 1.14 + 1.15 + float coef = 10; 1.16 +@@ -3680,7 +3680,7 @@ 1.17 + static void poll_timings_k16(void) { 1.18 + 1.19 + ulong dramt0, dramt1; 1.20 +- int cas, rcd, rp, rc, ras; 1.21 ++ int cas, rcd, rp, ras; 1.22 + 1.23 + pci_conf_read(0, 24, 2, 0x200, 4, &dramt0); 1.24 + pci_conf_read(0, 24, 2, 0x204, 4, &dramt1); 1.25 +@@ -3690,7 +3690,7 @@ 1.26 + rp = ((dramt0 >> 16) & 0x1F); 1.27 + ras = ((dramt0 >> 24) & 0x3F); 1.28 + 1.29 +- rc = (dramt1 & 0x3F); 1.30 ++ //int rc = (dramt1 & 0x3F); 1.31 + 1.32 + print_ram_line(cas, rcd, rp, ras, 1); 1.33 + }