mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
ram: sun20i_d1: Move dram_mr1 to Kconfig
This parameter needs a different value for the D1s DDR2 configuration. Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
a7921eadbd
commit
82a78f639b
@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-t113s-mangopi-mq-r-t113"
|
||||
CONFIG_SPL=y
|
||||
CONFIG_DRAM_SUNXI_ODT_EN=0
|
||||
CONFIG_DRAM_SUNXI_MR1=0x42
|
||||
CONFIG_DRAM_SUNXI_TPR0=0x004a2195
|
||||
CONFIG_DRAM_SUNXI_TPR11=0x340000
|
||||
CONFIG_DRAM_SUNXI_TPR12=0x46
|
||||
|
@ -12,6 +12,11 @@ config DRAM_SUNXI_ODT_EN
|
||||
help
|
||||
ODT EN value from vendor DRAM settings.
|
||||
|
||||
config DRAM_SUNXI_MR1
|
||||
hex "DRAM MR1 parameter"
|
||||
help
|
||||
MR1 value from vendor DRAM settings.
|
||||
|
||||
config DRAM_SUNXI_TPR0
|
||||
hex "DRAM TPR0 parameter"
|
||||
help
|
||||
|
@ -1349,7 +1349,7 @@ static const dram_para_t para = {
|
||||
.dram_zq = CONFIG_DRAM_ZQ,
|
||||
.dram_odt_en = CONFIG_DRAM_SUNXI_ODT_EN,
|
||||
.dram_mr0 = PARAMETER_IS_UNUSED,
|
||||
.dram_mr1 = 0x42,
|
||||
.dram_mr1 = CONFIG_DRAM_SUNXI_MR1,
|
||||
.dram_mr2 = PARAMETER_IS_UNUSED,
|
||||
.dram_mr3 = 0,
|
||||
.dram_tpr0 = PARAMETER_IS_UNUSED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user