]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ram: px30: add sdram driver
authorYouMin Chen <cym@rock-chips.com>
Fri, 15 Nov 2019 03:04:43 +0000 (11:04 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 08:23:56 +0000 (16:23 +0800)
commit39edfaa758a1f875dfed8d8749e4c84c21db6e2a
tree7a06a332a20fa7e50a2452080c78acfc6f9a0fba
parentc525bb42aabd1c52c758b64758a9d5fc12e52d01
ram: px30: add sdram driver

Add the sdram driver for PX30 to support ddr3, ddr4, lpddr2 and lpddr3.

For TPL_BUILD, the driver implement full dram init and without DM
support due to the limit of internal SRAM size.
For SPL and U-Boot proper, it's a simple driver with dm for get
dram_info like other SoCs.

Signed-off-by: YouMin Chen <cym@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/include/asm/arch-rockchip/sdram_px30.h [new file with mode: 0644]
drivers/ram/Kconfig
drivers/ram/rockchip/Makefile
drivers/ram/rockchip/sdram-px30-ddr3-detect-333.inc [new file with mode: 0644]
drivers/ram/rockchip/sdram-px30-ddr4-detect-333.inc [new file with mode: 0644]
drivers/ram/rockchip/sdram-px30-ddr_skew.inc [new file with mode: 0644]
drivers/ram/rockchip/sdram-px30-lpddr2-detect-333.inc [new file with mode: 0644]
drivers/ram/rockchip/sdram-px30-lpddr3-detect-333.inc [new file with mode: 0644]
drivers/ram/rockchip/sdram_px30.c [new file with mode: 0644]