forked from M-Labs/artiq
1
0
Fork 0

libboard/sdram: add gap for write leveling

This commit is contained in:
Florent Kermarrec 2018-03-09 18:53:57 +01:00
parent fc3d97f1f7
commit a95cd423cc
1 changed files with 6 additions and 0 deletions

View File

@ -132,6 +132,12 @@ mod ddr {
if !incr_delay() { break } if !incr_delay() { break }
dq = ptr::read_volatile(dq_addr); dq = ptr::read_volatile(dq_addr);
} }
// Get a bit further into the 0 zone
#[cfg(kusddrphy)]
for _ in 0..32 {
incr_delay();
}
} }
while dq == 0 { while dq == 0 {