diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-04-10 10:21:17 +0200 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-04-12 00:17:21 +0100 |
commit | b3cb03cf7980b4c93358fd5407b9d233d97fb5be (patch) | |
tree | 7e05a378425e72fce7893f8826e70e06852e1a32 /arch/arm/mach-sunxi/Kconfig | |
parent | ae6f66d5b5f6cdfdf9cd0650f1d3d5e6acf32aa5 (diff) | |
download | u-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 'arch/arm/mach-sunxi/Kconfig')
-rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 7b38e83..fe34755 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -73,6 +73,12 @@ config DRAM_SUN50I_H616_ODT_EN help ODT EN value from vendor DRAM settings. +config DRAM_SUN50I_H616_TPR0 + hex "H616 DRAM TPR0 parameter" + default 0x0 + help + TPR0 value from vendor DRAM settings. + config DRAM_SUN50I_H616_TPR10 hex "H616 DRAM TPR10 parameter" help |