]> git.dujemihanovic.xyz Git - u-boot.git/commit
Kconfig: sunxi: prepare for using drivers/ram/sunxi
authorAndre Przywara <andre.przywara@arm.com>
Sun, 18 Dec 2022 00:12:07 +0000 (00:12 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 22 Oct 2023 22:41:51 +0000 (23:41 +0100)
commit8bddb9742bedaffacf5cd0dfdaa443079a216ca9
tree077f8af3383e521b17b1d83adf9528de9793c12d
parenta94c9c809b26c9fbc58dcc2796ff879fc56b0c7e
Kconfig: sunxi: prepare for using drivers/ram/sunxi

At the moment all Allwinner DRAM initialisation routines are stored in
arch/arm/mach-sunxi, even though those "drivers" are just a giant
collection of writel's, without any architectural dependency.

The R528/T113-s SoC (with ARM cores) and the D1/D1s Soc (with RISC-V
cores) share the same die, so should share the same DRAM init routines as
well.

To prepare for this, add a new sunxi directory inside drivers/ram, and
add some stub entries to prepare for the addition of the share DRAM code
for those SoCs.

The RISC-V D1(s) SoCs will probably use SPL_DM, so for that SoC this
would be the right directory anyway.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/ram/Kconfig
drivers/ram/sunxi/Kconfig [new file with mode: 0644]