aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/allwinner-a10-dramc.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-12hw/misc: Allwinner A10 DRAM Controller EmulationStrahinja Jankovic1-0/+179
During SPL boot several DRAM Controller registers are used. Most important registers are those related to DRAM initialization and calibration, where SPL initiates process and waits until certain bit is set/cleared. This patch adds these registers, initializes reset values from user's guide and updates state of registers as SPL expects it. Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com> Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com> Message-id: 20221226220303.14420-3-strahinja.p.jankovic@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>