1 |
2 |
dimamali |
SDRAM controller enable
|
2 |
|
|
CONFIG_DDR2SP
|
3 |
|
|
Say Y here to enabled a 16-bit DDR266 SDRAM controller.
|
4 |
|
|
|
5 |
|
|
Power-on init
|
6 |
|
|
CONFIG_DDR2SP_INIT
|
7 |
|
|
Say Y here to enable the automatic DDR initialization sequence.
|
8 |
|
|
If disabled, the sequencemust be performed in software before
|
9 |
|
|
the DDR can be used. If unsure, say Y.
|
10 |
|
|
|
11 |
|
|
Memory frequency
|
12 |
|
|
CONFIG_DDR2SP_FREQ
|
13 |
|
|
Enter the frequency of the DDR clock (in MHz). The value is
|
14 |
|
|
typically between 130 - 200, depending on system configuration.
|
15 |
|
|
Some template design (such as the leon3-avnet-eval-lx25)
|
16 |
|
|
calculate this value automatically and this value is not used.
|
17 |
|
|
|
18 |
|
|
Refresh to Activate
|
19 |
|
|
CONFIG_DDR2SP_TRFC
|
20 |
|
|
Enter the Refresh to Activate timing (tRFC) in ns. The value is
|
21 |
|
|
typically between 75 - 130, depending on memory chip implementation.
|
22 |
|
|
|
23 |
|
|
DDR2 Data width
|
24 |
|
|
CONFIG_DDR2SP_DATAWIDTH
|
25 |
|
|
Select the width of the DDR2 data bus. 64-bit or 32-bit or
|
26 |
|
|
16-bit can be selected. Only used in some template designs.
|
27 |
|
|
|
28 |
|
|
Column bits
|
29 |
|
|
CONFIG_DDR2SP_COL
|
30 |
|
|
Select the number of colomn address bits of the DDR memory.
|
31 |
|
|
Typical values are 8 - 11. Only needed when automatic DDR
|
32 |
|
|
initialisation is choosen. The column size can always be
|
33 |
|
|
programmed by software as well.
|
34 |
|
|
|
35 |
|
|
Chip select size
|
36 |
|
|
CONFIG_DDR2SP_MBYTE
|
37 |
|
|
Select the memory size (Mbytes) that each chip select should decode.
|
38 |
|
|
Only needed when automatic DDR initialisation is choosen. The chip
|
39 |
|
|
select size can always be programmed by software as well.
|
40 |
|
|
|
41 |
|
|
Read data delay
|
42 |
|
|
CONFIG_DDR2SP_DELAY0 CONFIG_DDR2SP_DELAY1 CONFIG_DDR2SP_DELAY2 CONFIG_DDR2SP_DELAY3 CONFIG_DDR2SP_DELAY4 CONFIG_DDR2SP_DELAY5 CONFIG_DDR2SP_DELAY6 CONFIG_DDR2SP_DELAY7
|
43 |
|
|
On Xilinx targets (virtex4 and virtex5), input delays are added to
|
44 |
|
|
all data bits to align read data to the internal DDR clock signal.
|
45 |
|
|
The delay can be set to a value of 0 to 63 tap-delays. Each tap-
|
46 |
|
|
delay equals to ~78ps delay, with an reference clock at 200 MHz.
|
47 |
|
|
This delay value is only a reset valus, it can be changed dynamically
|
48 |
|
|
via a configuration register.
|
49 |
|
|
|