bios/sdram: always show bitslip on two digits to keep scan aligned.

This commit is contained in:
Florent Kermarrec 2020-05-14 15:20:52 +02:00
parent 4a5072a014
commit 3391398a5f
1 changed files with 2 additions and 2 deletions

View File

@ -552,7 +552,7 @@ static int read_level_scan(int module, int bitslip)
sdram_dfii_pird_baddress_write(0);
score = 0;
printf("m%d, b%d: |", module, bitslip);
printf("m%d, b%02d: |", module, bitslip);
read_delay_rst(module);
for(i=0;i<SDRAM_PHY_DELAYS;i++) {
int working = 1;
@ -978,7 +978,7 @@ static void read_leveling(void)
}
/* select best read window */
printf("best: m%d, b%d ", module, best_bitslip);
printf("best: m%d, b%02d ", module, best_bitslip);
read_bitslip_rst(module);
for (bitslip=0; bitslip<best_bitslip; bitslip++)
read_bitslip_inc(module);