blob: 1775cb0d780fdd37638f923095318cd553a96e60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
config DRAM_SUN20I_D1
bool
depends on ARCH_SUNXI
help
This enables support for the DRAM controller driver covering
the Allwinner D1/R528/T113s SoCs.
if DRAM_SUN20I_D1
config DRAM_SUNXI_ODT_EN
hex "DRAM ODT EN parameter"
help
ODT EN value from vendor DRAM settings.
config DRAM_SUNXI_TPR0
hex "DRAM TPR0 parameter"
help
TPR0 value from vendor DRAM settings.
config DRAM_SUNXI_TPR11
hex "DRAM TPR11 parameter"
help
TPR11 value from vendor DRAM settings.
config DRAM_SUNXI_TPR12
hex "DRAM TPR12 parameter"
help
TPR12 value from vendor DRAM settings.
config DRAM_SUNXI_TPR13
hex "DRAM TPR13 parameter"
help
TPR13 value from vendor DRAM settings. It tells which features
should be configured.
choice
prompt "DRAM chip type"
default SUNXI_DRAM_TYPE_DDR3 if DRAM_SUN20I_D1
config SUNXI_DRAM_TYPE_DDR2
bool "DDR2 chips"
config SUNXI_DRAM_TYPE_DDR3
bool "DDR3 chips"
config SUNXI_DRAM_TYPE_LPDDR2
bool "LPDDR2 chips"
config SUNXI_DRAM_TYPE_LPDDR3
bool "LPDDR3 chips"
endchoice
config SUNXI_DRAM_TYPE
int
default 2 if SUNXI_DRAM_TYPE_DDR2
default 3 if SUNXI_DRAM_TYPE_DDR3
default 6 if SUNXI_DRAM_TYPE_LPDDR2
default 7 if SUNXI_DRAM_TYPE_LPDDR3
endif
|