From edd3a59d5b98964ed72265346cb4dc7e9ffccd27 Mon Sep 17 00:00:00 2001 From: Strahinja Jankovic Date: Mon, 26 Dec 2022 23:02:58 +0100 Subject: hw/misc: Allwinner A10 DRAM Controller Emulation 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 Reviewed-by: Niek Linnenbank Message-id: 20221226220303.14420-3-strahinja.p.jankovic@gmail.com Signed-off-by: Peter Maydell --- hw/misc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/misc/Kconfig') diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig index ed07bf4..052fb54 100644 --- a/hw/misc/Kconfig +++ b/hw/misc/Kconfig @@ -177,4 +177,7 @@ config LASI config ALLWINNER_A10_CCM bool +config ALLWINNER_A10_DRAMC + bool + source macio/Kconfig -- cgit v1.1