]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: ast2700: Add DRAM controller initialization
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>
Tue, 10 Sep 2024 09:39:19 +0000 (17:39 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 11 Sep 2024 12:35:03 +0000 (20:35 +0800)
commita1ad11ce5249acf4b0f90a096cc975eddb687c23
treede7624a9ff0253cd175b860082fd898a7a751651
parent73f802ac95ede0324f54852088c1ea1f7cb9e55a
ram: ast2700: Add DRAM controller initialization

Add driver for AST2700 to initialize DRAM in SPL.

This patch also refactors the Kconfig dependency of
Aspeed DRAM drivers as some of them are shared among
the file structures of RV and ARM ISAs.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Acked-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/arch-ast2700/sdram.h [new file with mode: 0644]
drivers/ram/Makefile
drivers/ram/aspeed/Kconfig
drivers/ram/aspeed/Makefile
drivers/ram/aspeed/dwc_ddrphy_phyinit_ddr4-3200-nodimm-train2D.c [new file with mode: 0644]
drivers/ram/aspeed/dwc_ddrphy_phyinit_ddr5-3200-nodimm-train2D.c [new file with mode: 0644]
drivers/ram/aspeed/sdram_ast2700.c [new file with mode: 0644]