diff options
author | Strahinja Jankovic <strahinjapjankovic@gmail.com> | 2022-12-26 23:02:58 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-12 16:50:19 +0000 |
commit | edd3a59d5b98964ed72265346cb4dc7e9ffccd27 (patch) | |
tree | bc4007ea9f6446f1cbbc1fee04774a7af2d1f9b7 /hw/misc/Kconfig | |
parent | 423ec28bb8c20d9dfa68faef50699772899ab64d (diff) | |
download | qemu-edd3a59d5b98964ed72265346cb4dc7e9ffccd27.zip qemu-edd3a59d5b98964ed72265346cb4dc7e9ffccd27.tar.gz qemu-edd3a59d5b98964ed72265346cb4dc7e9ffccd27.tar.bz2 |
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 <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>
Diffstat (limited to 'hw/misc/Kconfig')
-rw-r--r-- | hw/misc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
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 |