Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
try commenting out another function
  • Loading branch information
jad13041 committed Feb 6, 2020
1 parent 155901a commit 7d34bd3
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions drivers/ddr/fsl/main.c
Expand Up @@ -694,12 +694,10 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
i, 2);
}
}
//here still no change
#ifdef CONFIG_FSL_DDR_SYNC_REFRESH
fsl_ddr_sync_memctl_refresh(first_ctrl, last_ctrl);
#endif
printf("debug point 1\n");
mdelay(2000);

#ifdef CONFIG_PPC
/* program LAWs */
for (i = first_ctrl; i <= last_ctrl; i++) {
Expand Down Expand Up @@ -727,8 +725,6 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
}
#endif
break;
printf("debug point 2\n");
mdelay(2000);
case FSL_DDR_3WAY_1KB_INTERLEAVING:
case FSL_DDR_3WAY_4KB_INTERLEAVING:
case FSL_DDR_3WAY_8KB_INTERLEAVING:
Expand All @@ -739,8 +735,6 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
law_memctl, i);
}
break;
printf("debug point 3\n");
mdelay(2000);
case FSL_DDR_4WAY_1KB_INTERLEAVING:
case FSL_DDR_4WAY_4KB_INTERLEAVING:
case FSL_DDR_4WAY_8KB_INTERLEAVING:
Expand All @@ -754,8 +748,6 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
default:
break;
}
printf("debug point 4\n");
mdelay(2000);
} else {
switch (i) {
case 0:
Expand All @@ -773,10 +765,9 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
default:
break;
}
printf("debug point 5\n");
mdelay(2000);
fsl_ddr_set_lawbar(&pinfo->common_timing_params[i],
law_memctl, i);
//here still no change
//fsl_ddr_set_lawbar(&pinfo->common_timing_params[i],
// law_memctl, i);
}
}
#endif
Expand Down

0 comments on commit 7d34bd3

Please sign in to comment.