Re: EST sbc8260 Local bus SDRAM

From
Allen Curtis <hidden>
Date
2002-07-31 18:56:29
I'm looking for the initialization code to program the
chip select and start
the refresh timer.
Here is a snippet from our BDI configuration file.

; Configure /CS5 to be local bus SDRAM
;   CHIP SELECT     BASE ADDRESS    SIZE   COMMENTS
;   -----------     ------------    ----   --------
;     /CS5           0x10000000      8MB   32-BIT LOCAL
SDRAM
;
WM32    0xF001012C      0xFF803280      ; OR5		(OPTION
REGISTER 5)
WM32    0xF0010128      0xF7001861      ; BR5		(BASE
REGISTER 5)

;------------------------------------------------------
; LOCAL SDRAM INITIALIZATION
;------------------------------------------------------

WM32    0xF0010194      0xEA46A552      ; LSDMR		(LOCAL
SDRAM MODE REGISTER)
WM8     0x10000000      0xFF            ; Access local
SDRAM

WM32    0xF0010194      0xCA46A552      ; LSDMR		(LOCAL
SDRAM MODE REGISTER)
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM
WM8     0x10000000      0xFF            ; Access local
SDRAM

WM32    0xF0010194      0xDA46A552      ; LSDMR		(LOCAL
SDRAM MODE REGISTER)
WM8     0x10000000      0xFF            ; Access local
SDRAM

WM32    0xF0010194      0xC246A552      ; LSDMR		(LOCAL
SDRAM MODE REGISTER)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help