aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@gmail.com>2023-04-10 10:21:17 +0200
committerAndre Przywara <andre.przywara@arm.com>2023-04-12 00:17:21 +0100
commitb3cb03cf7980b4c93358fd5407b9d233d97fb5be (patch)
tree7e05a378425e72fce7893f8826e70e06852e1a32 /configs
parentae6f66d5b5f6cdfdf9cd0650f1d3d5e6acf32aa5 (diff)
downloadu-boot-b3cb03cf7980b4c93358fd5407b9d233d97fb5be.zip
u-boot-b3cb03cf7980b4c93358fd5407b9d233d97fb5be.tar.gz
u-boot-b3cb03cf7980b4c93358fd5407b9d233d97fb5be.tar.bz2
sunxi: Parameterize "unknown feature" in H616 DRAM driver
Part of the code, previously known as "unknown feature", also doesn't have constant values. They are derived from TPR0 parameter in vendor DRAM code. Let's move that code to separate function and introduce TPR0 parameter here too, to ease adding new boards. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/x96_mate_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/x96_mate_defconfig b/configs/x96_mate_defconfig
index acc6489..aedb327 100644
--- a/configs/x96_mate_defconfig
+++ b/configs/x96_mate_defconfig
@@ -6,6 +6,7 @@ CONFIG_DRAM_SUN50I_H616_READ_CALIBRATION=y
CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303
CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e
CONFIG_DRAM_SUN50I_H616_CA_DRI=0x1c12
+CONFIG_DRAM_SUN50I_H616_TPR0=0xc0000c05
CONFIG_DRAM_SUN50I_H616_TPR10=0x2f0007
CONFIG_DRAM_SUN50I_H616_TPR11=0xffffdddd
CONFIG_DRAM_SUN50I_H616_TPR12=0xfedf7557