MCPcopy Create free account
hub / github.com/coreboot/coreboot / dump_timings

Function dump_timings

util/inteltool/memory.c:72–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static void dump_timings (void)
73{
74 int channel, slot, rank, lane, i;
75 printf ("Timings:\n");
76 for (channel = 0; channel < 2; channel++)
77 for (slot = 0; slot < 2; slot++)
78 for (rank = 0; rank < 2; rank++) {
79 printf ("channel %d, slot %d, rank %d\n", channel, slot, rank);
80 for (lane = 0; lane < 9; lane++) {
81 printf ("lane %d: ", lane);
82 for (i = 0; i < 4; i++) {
83 printf ("%x ", read_500 (channel,
84 get_timing_register_addr (lane, i, slot, rank), 9));
85 }
86 printf ("\n");
87 }
88 }
89
90 printf ("[178] = %x\n", read_1d0 (0x178, 7));
91 printf ("[10b] = %x\n", read_1d0 (0x10b, 6));
92}
93
94
95/*

Callers 1

print_mchbarFunction · 0.70

Calls 4

printfFunction · 0.85
read_500Function · 0.70
get_timing_register_addrFunction · 0.70
read_1d0Function · 0.70

Tested by

no test coverage detected