hw/arm/allwinner-r40: add SDRAM controller device
authorqianfan Zhao <qianfanguijin@163.com>
Tue, 6 Jun 2023 09:19:32 +0000 (10:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Jun 2023 09:19:32 +0000 (10:19 +0100)
commit4a52ef61d901290da8ece2bf99546af1389ff7bb
treeb91b6735fbd81f84e81503522f8bbde8e852bc78
parenta95454309269d579d936f3c9c736b436910f74f8
hw/arm/allwinner-r40: add SDRAM controller device

Types of memory that the SDRAM controller supports are DDR2/DDR3
and capacities of up to 2GiB. This commit adds emulation support
of the Allwinner R40 SDRAM controller.

This driver only support 256M, 512M and 1024M memory now.

Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-r40.c
hw/arm/bananapi_m2u.c
hw/misc/allwinner-r40-dramc.c [new file with mode: 0644]
hw/misc/meson.build
hw/misc/trace-events
include/hw/arm/allwinner-r40.h
include/hw/misc/allwinner-r40-dramc.h [new file with mode: 0644]