diff options
author | Mikhail Kalashnikov <iuncuim@gmail.com> | 2023-06-07 01:07:45 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-07-21 00:54:19 +0100 |
commit | ecb896cec75e98d6e5f9bcbf0a87976119443985 (patch) | |
tree | 3fc32ecd18b2575a3d7a62c0379a325244ada277 /arch/arm/mach-sunxi/Kconfig | |
parent | 5d6f013adc5f866a17ce870372d619ed90b7cad3 (diff) | |
download | u-boot-ecb896cec75e98d6e5f9bcbf0a87976119443985.zip u-boot-ecb896cec75e98d6e5f9bcbf0a87976119443985.tar.gz u-boot-ecb896cec75e98d6e5f9bcbf0a87976119443985.tar.bz2 |
sunxi: H616: add LPDDR3 DRAM support
The H616 SoC has support for several types of DRAM: DDR3, LPDDR3,
DDR4 and LPDDR4.
At the moment, the driver only supports DDR3 memory.
Let's extend the driver to support the LPDDR3 memory. All "magic"
values obtained from the boot0.
Signed-off-by: Mikhail Kalashnikov <iuncuim@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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index b38dce6..e20c3a3 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -476,6 +476,14 @@ config SUNXI_DRAM_H6_DDR3_1333 This option is the DDR3 timing used by the boot0 on H6 TV boxes which use a DDR3-1333 timing. +config SUNXI_DRAM_H616_LPDDR3 + bool "LPDDR3 DRAM chips on the H616 DRAM controller" + select SUNXI_DRAM_LPDDR3 + depends on DRAM_SUN50I_H616 + help + This option is the LPDDR3 timing used by the stock boot0 by + Allwinner. + config SUNXI_DRAM_H616_DDR3_1333 bool "DDR3-1333 boot0 timings on the H616 DRAM controller" select SUNXI_DRAM_DDR3 |