forked from M-Labs/artiq
1
0
Fork 0

libboard/sdram: rename read_delays to read_leveling

This commit is contained in:
Florent Kermarrec 2018-03-09 09:23:20 +01:00
parent 3fbcf5f303
commit b0b13be23b
1 changed files with 3 additions and 3 deletions

View File

@ -142,8 +142,8 @@ mod ddr {
} }
} }
unsafe fn read_delays(logger: &mut Option<&mut fmt::Write>) { unsafe fn read_leveling(logger: &mut Option<&mut fmt::Write>) {
log!(logger, "Read delays: "); log!(logger, "Read leveling: ");
// Generate pseudo-random sequence // Generate pseudo-random sequence
let mut prs = [0; DFII_NPHASES * DFII_PIX_DATA_SIZE]; let mut prs = [0; DFII_NPHASES * DFII_PIX_DATA_SIZE];
@ -259,7 +259,7 @@ mod ddr {
read_bitslip(logger, &delay, &high_skew); read_bitslip(logger, &delay, &high_skew);
} }
read_delays(logger); read_leveling(logger);
true true
} }