software/liblitedram/sdram.c: Remove residual wrap around code, fix some spaces/tabs.
This commit is contained in:
parent
74c42a55e2
commit
87c0e30cef
|
@ -811,7 +811,7 @@ static void sdram_leveling_center_module(
|
|||
int show;
|
||||
int working;
|
||||
int delay, delay_mid, delay_range;
|
||||
int delay_min = -1, delay_min_next = -1, delay_max = -1;
|
||||
int delay_min = -1, delay_max = -1;
|
||||
|
||||
if (show_long)
|
||||
printf("m%d: |", module);
|
||||
|
@ -862,12 +862,6 @@ static void sdram_leveling_center_module(
|
|||
if(!working && delay_max < 0) {
|
||||
delay_max = delay;
|
||||
}
|
||||
/* Store next working delay to include wrapping around */
|
||||
if (!working) {
|
||||
delay_min_next = -1;
|
||||
} else if(working && delay_min_next < 0) {
|
||||
delay_min_next = delay;
|
||||
}
|
||||
delay++;
|
||||
if(delay >= SDRAM_PHY_DELAYS)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue