]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sunxi: extend R528/T113-s3/D1(s) DRAM initialisation
authorLukas Schmid <lukas.schmid@netcube.li>
Sun, 26 Oct 2025 11:41:17 +0000 (12:41 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 25 Jan 2026 23:29:32 +0000 (23:29 +0000)
commitd8ee42f113474c81f2d25a98e6cbcd60cf5bdfd5
tree5052e4706b44c06fe916b8c3a6fbbd7c06329b3d
parent0ffca1dff1e8960b5920dfc3164e0fcd5892b961
sunxi: extend R528/T113-s3/D1(s) DRAM initialisation

The T113-s4 SoC is using the same die as the T113-s3, but comes with
256MiB of co-packaged DRAM. Besides the doubled size, the DRAM chip
seems to be connected slightly differently, which requires to use a
different pin remapping.

Extend the DRAM initialisation code to add support for the T113-S4 aka
T113M4020DC0 by checking the SoC's CHIPID, which is stored in the first
word of the SID efuses.

Signed-off-by: Lukas Schmid <lukas.schmid@netcube.li>
Tested-by: John Watts <contact@jookia.org>
Reviewed-by: John Watts <contact@jookia.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/ram/sunxi/dram_sun20i_d1.c
drivers/ram/sunxi/dram_sun20i_d1.h