SAMV7: Costmetic changes to SDRAM logic
This commit is contained in:
parent
3b0615ece8
commit
85b9a7f1a5
|
@ -206,6 +206,8 @@ void sam_sdram_config(void)
|
|||
* the Low Power Register.
|
||||
*/
|
||||
|
||||
putreg32(0, SAM_SDRAMC_LPR);
|
||||
|
||||
/* 3. The SDRAM memory type must be set in the Memory Device Register.*/
|
||||
|
||||
putreg32(SDRAMC_MDR_SDRAM, SAM_SDRAMC_MDR);
|
||||
|
@ -237,7 +239,7 @@ void sam_sdram_config(void)
|
|||
* any SDRAM location eight times.
|
||||
*/
|
||||
|
||||
for (i = 0 ; i< 8; i++)
|
||||
for (i = 0 ; i < 8; i++)
|
||||
{
|
||||
putreg32(SDRAMC_MR_MODE_AUTOREFRESH, SAM_SDRAMC_MR);
|
||||
*psdram = 0;
|
||||
|
|
Loading…
Reference in New Issue