[openfirmware] [commit] r2674 - cpu/arm/mmp2

repository service svn at openfirmware.info
Tue Nov 8 20:19:06 CET 2011


Author: wmb
Date: Tue Nov  8 20:19:06 2011
New Revision: 2674
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2674

Log:
OLPC XO-1.75 - moved the DRAM resume delay after the self-refresh exit command, thus giving both DLLs time to recalibrate.

Modified:
   cpu/arm/mmp2/dramrecal.fth

Modified: cpu/arm/mmp2/dramrecal.fth
==============================================================================
--- cpu/arm/mmp2/dramrecal.fth	Tue Nov  8 20:17:14 2011	(r2673)
+++ cpu/arm/mmp2/dramrecal.fth	Tue Nov  8 20:19:06 2011	(r2674)
@@ -86,8 +86,6 @@
    mov   r1, #0x40000000     \ DLL_UPDATE_EN
    str   r1, [r0, #0x240]    \ PHY_CTRL14
 
-   mov   r1, #0x0300  begin  decs r1,1  0= until  \ Delay, needed for some DRAMs
-
    mov   r1, #0x80           \ Exit Self Refresh value
    str   r1, [r0, #0x120]    \ USER_INITIATED_COMMAND0
 
@@ -108,6 +106,10 @@
       decs r1, #1
    0= until
 [then]
+
+   \ Delay to let the memory controller and DRAM DLLs settle
+   mov   r1, #0x0300  begin  decs r1,1  0= until
+
    mov     r1, #0x0          \ Unblock data requests
    str     r1, [r0, #0x7e0]  \ SDRAM_CTRL14
 



More information about the openfirmware mailing list